class HexaPDF::Type::FontDescriptor

Parent
Extended With

This class specifies metrics and other attributes of a simple font or a CID font as a whole.

See: PDF2.0 s9.8

Field Definitions

NameType/Allowed ValuesRequiredDefault Value
TypeSymboltrue:FontDescriptor
FontNameSymboltruenil
FontFamilyHexaPDF::DictionaryFields::PDFByteString or Stringfalsenil
FontStretchSymbol
One of: :UltraCondensed, :ExtraCondensed, :Condensed, :SemiCondensed, :Normal, :SemiExpanded, :Expanded, :ExtraExpanded, :UltraExpanded
falsenil
FontWeightNumericfalsenil
FlagsIntegertruenil
FontBBoxHexaPDF::Rectangle or Arrayfalsenil
ItalicAngleNumerictruenil
AscentNumericfalsenil
DescentNumericfalsenil
LeadingNumericfalse0
CapHeightNumericfalsenil
XHeightNumericfalse0
StemVNumericfalsenil
StemHNumericfalse0
AvgWidthNumericfalse0
MaxWidthNumericfalse0
MissingWidthNumericfalse0
FontFileHexaPDF::Stream or Hashfalsenil
FontFile2HexaPDF::Stream or Hashfalsenil
FontFile3HexaPDF::Stream or Hashfalsenil
CharSetHexaPDF::DictionaryFields::PDFByteString or Stringfalsenil
StyleHexaPDF::Dictionary or Hashfalsenil
LangSymbolfalsenil
FDHexaPDF::Dictionary or Hashfalsenil
CIDSetHexaPDF::Stream or Hashfalsenil