Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


The function can be used to disable the 14 standard fonts temporarily.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 4.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.SetUseStdFonts"; PDF; Value )   More


Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Value the new setting. Can be 0 to turn off or 1 to turn on. 1


Return OK or error.


The function can be used to disable the 14 standard fonts temporarily.
PDF viewer applications support 14 standard fonts, these fonts are not embedded by default, also if the parameter Embed of the function DynaPDF.SetFont is true.
If certain standard fonts are available on the system, then they have typically a higher search priority but it is still possible to select a standard font. This can occur, for example, when the font weight of the system font does not exactly match the requested weight. If a standard font represents a better match, then this font would be selected.
To avoid unwanted font selections it is possible to disable the standard fonts from font selection. The value can be changed whenever necessary.
Default value = 1 (on)

See also DynaPDF.GetUseStdFonts.

See also SetUseStdFonts function in DynaPDF manual.


Enable standard fonts:

MBS( "DynaPDF.SetUseStdFonts"; $PDF; 1 )

See also

This function checks for a license.

Created 18th August 2014, last changed 18th August 2014

DynaPDF.SetUseGlobalImpFiles - DynaPDF.SetUseSystemFonts