Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

DynaPDF.SetUseStdFonts

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

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 4.2 Yes Yes Yes Yes Yes

MBS( "DynaPDF.SetUseStdFonts"; PDF; Value )

Parameters

Parameter Description Example value
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

Result

Return OK or error.

Description

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.

Examples

Enable standard fonts:

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

See also


DynaPDF.SetUseGlobalImpFiles   -   DynaPDF.SetUseSystemFonts

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos