class HexaPDF::Type::FontTrueType

Parent

Represents a TrueType font.

Field Definitions

NameType/Allowed ValuesRequiredDefault Value
TypeSymboltrue:Font
ToUnicodeHexaPDF::Stream or Hashfalsenil
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