THotPDF.SimpleLatinFonts Property

THotPDF API reference

 

THotPDF Methods  Auto Shaping  GSUB

Enables a compact simple-font path for printable ASCII text that uses Base14 standard fonts with WinAnsiEncoding instead of embedding a Unicode Type0 font

 

Delphi syntax

property SimpleLatinFonts: Boolean read FSimpleLatinFonts write FSimpleLatinFonts;

 

Covered APIs

APIUsage notes
SimpleLatinFontsTurns on the compact unembedded simple-font path for printable ASCII when all safety gates match
StandardFontEmulationAllows Base14 standard font emulation, which is required before SimpleLatinFonts can use WinAnsiEncoding output
TryEmitSimpleLatinInternal output gate that accepts only printable ASCII, standard non-vertical fonts, zero rotation, no PDF/A, and no active shaping flags

 

Usage notes

The path is deliberately narrow: StandardFontEmulation must be enabled, PDF/A must be off, the active font must be a standard non-vertical font, the text angle must be zero, ShapingFeatures must be empty, and every character must be printable ASCII U+0020 through U+007E

 

See also: StandardFontEmulation ShapingFeatures THPDFPage.TextOut