THotPDF.SetFontFallbackChain Method
Replaces the ordered fallback-face list for one Unicode script group
Declaration
procedure SetFontFallbackChain(Script: THPDFFontScript;
const FontNames: array of AnsiString);
Parameters
Scriptselects the Unicode script groupFontNameslists installed face names in resolution order
Return value
This procedure does not return a value
Usage notes
- Empty names and case-insensitive duplicates are removed
- Script-specific faces are tried before the
hfsCommonchain - Resolution rejects silent GDI substitution to a different face
- A face can be listed by any family name it carries, so
'SimSun'works on a Chinese system where Windows reports the face by its Chinese name