THPDFLoadedFontInfo Record

Read-only metadata for one font in a loaded page's resource dictionary: base font name, subtype, encoding, embedding state, object number and resource key

Declaration

THPDFLoadedFontInfo= record
  FontName: AnsiString;
  Subtype: AnsiString;
  Encoding: AnsiString;
  IsEmbedded: boolean;
  ObjectNumber: Integer;
  ResourceName: AnsiString;
end;

Unit

HPDFDoc

Fields

FieldPurpose
FontNameFont dictionary's /BaseFont name
SubtypeFont dictionary's /Subtype, such as Type1, TrueType or Type0
EncodingFont dictionary's /Encoding value, empty when the entry is missing
IsEmbeddedtrue when the font descriptor carries a /FontFile, /FontFile2 or /FontFile3 stream
ObjectNumberIndirect object number of the font dictionary
ResourceNameKey of the font in the page's /Resources/Font dictionary, for instance F1 or Helv

Usage notes

Related APIs