puzzle / prawn-markup

Parse simple HTML markup to include in Prawn PDFs
MIT License
65 stars 16 forks source link

Support another "Prawn HTML-esque" tag: <font>? #30

Closed allthesignals closed 2 years ago

allthesignals commented 2 years ago

Should we support <font></font>?

From the docs:

This <font size='18'>line</font> uses
<font name='Courier'>all the font tag</font> attributes in
<font character_spacing='2'>a single line</font>.
codez commented 2 years ago

As it comes with little effort, I would be ok with integrating that, too. The used fonts would have to be registered with prawn manually though.