TPDFlibFontDiagnostics
Data Types
Description
TPDFlibFontDiagnostics is a record structure that summarizes document-wide font embedding and diagnostic statistics.
Syntax
Delphi
type TPDFlibFontDiagnostics = record
FontCount: Integer;
EmbeddedCount: Integer;
NotEmbeddedCount: Integer;
SubsettedCount: Integer;
Standard14Count: Integer;
CIDFontCount: Integer;
Type3Count: Integer;
UnknownCount: Integer;
NoToUnicodeCount: Integer;
EmbeddedBytes: Int64;
end;Fields
| FontCount | Total number of font resources referenced in the document. |
|---|---|
| EmbeddedCount | The count of fully or partially embedded font programs. |
| NotEmbeddedCount | The count of non-embedded fonts, which may require system font fallback inside viewer applications. |
| SubsettedCount | The count of subsetted fonts. |
| Standard14Count | The count of standard PDF base 14 PostScript fonts (e.g. Helvetica, Times, Courier). |
| CIDFontCount | The count of composite multi-byte CID-keyed fonts (often used for CJK text). |
| Type3Count | The count of user-defined Type 3 fonts. |
| UnknownCount | The count of fonts that have corrupted type metadata or unrecognized layouts. |
| NoToUnicodeCount | The count of fonts without a /ToUnicode CMap (see TPDFlibDocumentFont), which lose their character mapping in text extraction and block PDF/A-*u and PDF/UA conversion |
| EmbeddedBytes | The sum of the embedded font program stream lengths |