TPDFlibDocumentFont
Data Types
Description
TPDFlibDocumentFont is a record structure that holds detailed properties of a font resource embedded or referenced within a PDF document.
Syntax
Delphi
type TPDFlibDocumentFont = record
FontID: Integer;
ObjNum: Integer;
BaseFont: WideString;
FontType: Integer;
Encoding: WideString;
Embedded: Boolean;
Subsetted: Boolean;
end;Fields
| FontID | L'handle interno del font con base 1, utilizzabile con i metodi standard di selezione del font (ad esempio SelectFont) |
|---|---|
| ObjNum | The raw PDF indirect object number of the font dictionary in the PDF catalog |
| BaseFont | Il nome PostScript del font (ad esempio Helvetica-Bold o TimesNewRomanPSMT) |
| FontType | Il tipo di font rappresentato come un numero intero da 1 a 11 (corrisponde ai valori di tipo 1=TrueType, 2=Type1, ecc.) |
| Encoding | Il nome dello schema di codifica dei caratteri del font (ad es., WinAnsiEncoding o Identity-H) |
| Embedded | Indica se il file effettivo del programma del font è incorporato nel documento PDF |
| Subsetted | Indica se il font è un sottoinsieme del programma del font originale, solitamente contrassegnato da un prefisso di 6 lettere seguito da un segno più (es., ARIALN+) |