class HexaPDF::Type::FontTrueType

Parent

Represents a TrueType font.

See: PDF2.0 s9.6.3

Field Definitions

NameType/Allowed ValuesRequiredDefault Value
TypeSymboltrue:Font
ToUnicodeHexaPDF::Stream or Hashfalsenil
NameSymbolfalsenil
FirstCharIntegerfalsenil
LastCharIntegerfalsenil
WidthsHexaPDF::PDFArray or Arrayfalsenil
FontDescriptorHexaPDF::Type::FontDescriptor or Hashfalsenil
EncodingHexaPDF::Dictionary or Symbol or Hashfalsenil
SubtypeSymboltrue:TrueType
BaseFontSymboltruenil

Public Instance Methods

font_wrapper()

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