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.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

DynaPDF.GetUseSystemFonts

Queries whether system fonts are used.

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

MBS( "DynaPDF.GetUseSystemFonts"; PDF )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf

Result

Returns value (0 or 1) or error.

Description

Queries whether system fonts are used.
The property specifies whether the default font directory of the operating system should be added to the list of font search paths. On Windows this is the %Windows%/Fonts directory plus additional fonts which can be named in the Registry.
On Mac OS X the following font directories will be added to the list of font search paths (in this order):
~/Library/Fonts/
/Library/Fonts/
/System/Library/Fonts/
System fonts are loaded on demand, e.g. when a function tries to load a font. To improve processing speed the internal font cache is hold in memory until the PDF instance will be deleted. Additional font search paths can be added with DynaPDF.AddFontSearchPath.
Because Linux and UNIX operating system support no default font directory the property is ignored.

See also DynaPDF.SetUseSystemFonts.

See also GetUseSystemFonts function in DynaPDF manual.

Examples

Queries system fonts usage:

MBS( "DynaPDF.GetUseSystemFonts"; $PDF )

See also


DynaPDF.GetUseStdFonts   -   DynaPDF.GetUseTransparency

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins