Class | Prawn::Font |
In: |
lib/prawn/font/afm.rb
lib/prawn/font/dfont.rb lib/prawn/font/ttf.rb lib/prawn/font.rb |
Parent: | Object |
Provides font information and helper functions.
family | [R] | The current font family |
name | [R] | The current font name |
options | [R] | The options hash used to initialize the font |
Registers the given subset of the current font with the current PDF page. This is safe to call multiple times for a given font and subset, as it will only add the font the first time it is called.