diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2022-09-06 01:06:26 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2022-09-06 01:06:26 -0600 |
| commit | 2702b5b07fce8aab5a96644725a46f5bbd142d92 (patch) | |
| tree | 0097af1276b6abdc3b0f7328407b880c16fac696 | |
| parent | 84b18a935734dfca043c379c379d817165537d94 (diff) | |
drop support for the unmaintained payment font for use in font-based icons
| -rw-r--r-- | CHANGELOG.adoc | 1 | ||||
| -rw-r--r-- | docs/modules/ROOT/pages/icons.adoc | 4 | ||||
| -rw-r--r-- | lib/asciidoctor/pdf/ext/prawn/extensions.rb | 2 |
3 files changed, 2 insertions, 5 deletions
diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index c92ee44e..d7dd6400 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -25,6 +25,7 @@ Enhancements:: Improvements:: * process `pre-wrap` role in text formatter +* drop support for the unmaintained payment font (`pf`) for use in font-based icons Bug Fixes:: diff --git a/docs/modules/ROOT/pages/icons.adoc b/docs/modules/ROOT/pages/icons.adoc index cd3e5944..fa0dc4b4 100644 --- a/docs/modules/ROOT/pages/icons.adoc +++ b/docs/modules/ROOT/pages/icons.adoc @@ -45,14 +45,10 @@ You can use font-based icons from any of the following icon sets in your PDF doc * *fab* - https://fontawesome.com/icons?d=gallery&s=brands[Font Awesome - Brands^] * *far* - https://fontawesome.com/icons?d=gallery&s=regular[Font Awesome - Regular^] * *fi* - http://zurb.com/playground/foundation-icon-fonts-3[Foundation Icons^] -* *pf* - Payment font (deprecated) Use of the fa icon set is deprecated. Please use one of the styled FontAwesome icon sets. -The pf icon set is no longer maintained. -Prefer the brand icons either from fab or fi instead. - Icon-based fonts are handled by the `prawn-icon` gem. To find a complete list of available icons, consult the https://github.com/jessedoyle/prawn-icon/tree/master/data/fonts[prawn-icon^] repository. diff --git a/lib/asciidoctor/pdf/ext/prawn/extensions.rb b/lib/asciidoctor/pdf/ext/prawn/extensions.rb index 02d176a3..7aae9f41 100644 --- a/lib/asciidoctor/pdf/ext/prawn/extensions.rb +++ b/lib/asciidoctor/pdf/ext/prawn/extensions.rb @@ -16,7 +16,7 @@ module Asciidoctor ColumnBox = ::Prawn::Document::ColumnBox FontAwesomeIconSets = %w(fab far fas) - IconSets = %w(fab far fas fi pf).to_set + IconSets = %w(fab far fas fi).to_set IconSetPrefixes = IconSets.map {|it| it + '-' } InitialPageContent = %(q\n) (FontStyleToSet = { |
