class HexaPDF:: Type:: FontTrueType
| Parent | HexaPDF::Type::FontSimple |
|---|
Represents a TrueType font.
See: PDF2.0 s9.6.3
Field Definitions
| Name | Type/Allowed Values | Required | Default Value |
|---|---|---|---|
| Type | Symbol | true | :Font |
| ToUnicode | HexaPDF::Stream or Hash | false | nil |
| Name | Symbol | false | nil |
| FirstChar | Integer | false | nil |
| LastChar | Integer | false | nil |
| Widths | HexaPDF::PDFArray or Array | false | nil |
| FontDescriptor | HexaPDF::Type::FontDescriptor or Hash | false | nil |
| Encoding | HexaPDF::Dictionary or Symbol or Hash | false | nil |
| Subtype | Symbol | true | :TrueType |
| BaseFont | Symbol | true | nil |
Public Instance Methods
Overrides the default to provide a font wrapper in case none is set and a complete TrueType is embedded.
See: Font#font_wrapper
Calls superclass method
HexaPDF::Type::Font#font_wrapper