diff options
| author | Perceval Anichini <45268488+maneex@users.noreply.github.com> | 2022-09-07 02:10:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-06 18:10:26 -0600 |
| commit | 631606e91f487e797e73c15467979b0b63c5ff68 (patch) | |
| tree | dba7245300433c03a641d51e092585e49ba4e434 /lib | |
| parent | 413c447fe73d8df68426001aa48adb85cc52d681 (diff) | |
upgrade to prawn-icon 3.1.x to add support for the Material Design Icons (mdi) as an available font-based icon set (PR #2334)
Co-authored-by: Perceval <perceval@trilogic.fr>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/asciidoctor/pdf/ext/prawn/extensions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asciidoctor/pdf/ext/prawn/extensions.rb b/lib/asciidoctor/pdf/ext/prawn/extensions.rb index 7aae9f41..cda4c255 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).to_set + IconSets = %w(fab far fas fi mdi).to_set IconSetPrefixes = IconSets.map {|it| it + '-' } InitialPageContent = %(q\n) (FontStyleToSet = { |
