THotPDF.FontScriptForCodePoint Method
Classifies a Unicode scalar into the script group used by HotPDF fallback chains
Declaration
function FontScriptForCodePoint(CodePoint: Cardinal): THPDFFontScript;
Parameters
CodePoint is a Unicode scalar value
Return value
Returns a THPDFFontScript value such as hfsLatin, hfsCJK, or hfsEmoji
Usage notes
- Punctuation and shared symbols resolve through
hfsCommon - Invalid scalar values are classified as
hfsOther - The classification is designed for font selection rather than linguistic segmentation