Components Crossplatform Mac & Win Server Client Old Deprecated Guides Examples Videos
New in version: 12.2 12.3 12.4 12.5 13.0 13.1 13.2 13.3 13.4 13.5 Statistic FMM Blog
Activates or deactivates an alternate font list that was created by DynaPDF.CreateAltFontList.
|DynaPDF||12.0||✅ Yes||✅ Yes||✅ Yes||✅ Yes||✅ Yes|
|The PDF reference returned from DynaPDF.New.|
|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().
See also ActivateAltFontList function in DynaPDF manual.
- Version 12.0
- Top 10 from the MBS Plugin in 2022
- New in MBS FileMaker Plugin 12.0
- MBS FileMaker Plugin, version 12.0pr5
This function checks for a license.
Created 23th December 2021, last changed 17th July 2022