Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
DynaPDF.AddFontSearchPath
Adds a search path to the list of available font search paths.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 4.1 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. | ||
| 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 |
Result
Returns number of fonts loaded or error message.
Description
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.
Examples
Loads font folder on Windows:
MBS( "DynaPDF.AddFontSearchPath"; "C:\Fonts"; 1 )
See also
Blog Entries
- Install fonts for PDF generation in FileMaker Cloud
- PDF Standard Fonts
- MBS FileMaker Plugin 4.1 for OS X/Windows - More than 2400 Functions In One Plugin
- MBS Filemaker Plugin, version 4.1pr5
Created 18th August 2014, last changed 21st October 2014
DynaPDF.AddDeviceNSeparations - DynaPDF.AddOutputIntent
Feedback: Report problem or ask question.
Links
MBS Xojo blog