Components Crossplatform Mac & Win Server Client Old Deprecated Guides Examples Videos
New in version: 11.3 11.4 11.5 12.0 12.1 12.2 12.3 12.4 12.5 13.0 Statistic FMM Blog
Creates an alternate font list, that can be filled with data by DynaPDF.SetAltFonts().
|DynaPDF||12.0||✅ Yes||✅ Yes||✅ Yes||✅ Yes||✅ Yes|
|The PDF reference returned from DynaPDF.New.|
Returns number or error.
DescriptionCreates an alternate font list, that can be filled with data by DynaPDF.SetAltFonts().
It is possible to create an arbitrary number of alternate font lists. Multiple lists can be created because different fonts and languages require different fallback fonts. For example, one could create one list for proportional fonts and another one for fixed pitch fonts, or different lists for different languages.
Each list can be activated or deactivated with DynaPDF.ActivateAltFontList arbitrary often. Changing the active alternate font list is very fast and causes no overhead.
Once a font list was created it can be filled with data with DynaPDF.SetAltFonts. A font list that is no longer needed can be deleted with DynaPDF.DeleteAltFontList.
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.
If the function succeeds the return value is the handle of the font list, a value greater or equal zero. If the function fails the return value is an error message.
See also CreateAltFontList function in DynaPDF manual.
- Version 12.0
Created 23th December 2021, last changed 17th July 2022
Feedback: Report problem or ask question.