THotPDF.SimpleLatinFonts Property

THotPDF API reference

 

THotPDF Methods  Auto Shaping  GSUB

เปิดใช้งานพาธฟอนต์อย่างง่ายขนาดกะทัดรัดสำหรับข้อความ ASCII ที่พิมพ์ได้ ซึ่งใช้ฟอนต์มาตรฐาน Base14 พร้อม WinAnsiEncoding แทนที่จะฝังฟอนต์ Unicode Type0

 

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

เส้นทางนี้จงใจจำกัดแคบ: ต้องเปิด StandardFontEmulation, ต้องปิด PDF/A, active font ต้องเป็น standard non-vertical font, text angle ต้องเป็นศูนย์, ShapingFeatures ต้องว่าง และทุก character ต้องเป็น printable ASCII U+0020 ถึง U+007E

 

See also: StandardFontEmulation ShapingFeatures THPDFPage.TextOut