Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Adds a search path to the list of available font search paths.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 4.1 Yes Yes Yes Yes Yes
MBS( "DynaPDF.AddFontSearchPath"; PDF; Path; Recursive )   More


Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
Path Path to font file directory or path to font file. "C:\Fonts"
Recursive Include subdirectories (search recursively). Pass 1 for recursive or 0 for not recursive. 1


Returns number of fonts loaded or error message.


Adds a search path to the list of available font search paths.
An arbitrary number of search paths can be added at runtime. Subdirectories are added recursively if the parameter Recursive is 1.
Result may be 0 if all those fonts in were already loded.

See also AddFontSearchPath function in DynaPDF manual.


Loads font folder on Windows:

MBS( "DynaPDF.AddFontSearchPath"; "C:\Fonts"; 1 )

See also

Blog Entries

Created 18th August 2014, last changed 21st October 2014

DynaPDF.AddDeviceNSeparations   -   DynaPDF.AddOutputIntent

Feedback: Report problem or ask question.

MBS Xojo Plugins