Components Crossplatform Mac & Win Server Client Old Deprecated Guides Examples Videos
New in version: 10.4 10.5 11.0 11.1 11.2 11.3 11.4 11.5 12.0 12.1 Statistic FMM Blog
Activates or deactivates an alternate font list that was created by DynaPDF.CreateAltFontList.
|DynaPDF||12.0||✅ Yes||✅ Yes||✅ Yes||✅ Yes||✅ Yes|
|FontListHandle||Pass -1 to deactivate or number of list.|
|EnableSysFonts||Whether to include system fonts.
Pass 1 to enable or 0 to disable.
Returns OK or error.
DescriptionActivates or deactivates an alternate font list that was created by DynaPDF.CreateAltFontList.
An alternate font list represents a list of fallback fonts which are tested if one or more required glyphs were not found in the current font.
If no compatible font was found in the list, then system fonts are tested if EnableSysFonts was set to true. Although EnableSysFonts should be set to true in most cases, it is sometimes useful to disable system fonts, e.g. to restrict the number of fonts which can be embedded.
In order to disable the current alternate font list set the parameter Handle to -1. The value of EnableSysFonts is ignored this case. To fully deactivate font substitution disable system fonts with DynaPDF.SetUseSystemFonts() before calling a text function.
Please note that alternate font lists are used only, if complex text layout was enabled. This can be done by setting the flag ComplexText with DynaPDF.SetGStateFlags().
- Version 12.0
Created 23th December 2021, last changed 30th December 2021
Feedback: Report problem or ask question.
MBS Xojo Chart Plugins