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.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
DynaPDF.GetUseSystemFonts
Queries whether system fonts are used.
Component |
Version |
macOS |
Windows |
Linux |
Server |
iOS SDK |
DynaPDF
|
4.2 |
✅ Yes
|
✅ Yes
|
✅ Yes
|
✅ Yes
|
✅ Yes
|
MBS( "DynaPDF.GetUseSystemFonts"; PDF )
More
MBS(
"DynaPDF.GetUseSystemFonts"; /* Queries whether system fonts are used. */
$PDF) /* The PDF reference returned from
DynaPDF.New. */
Less
Parameters
Parameter |
Description |
Example |
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 macOS 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
Created 18th August 2014, last changed 10th August 2020
DynaPDF.GetUseStdFonts
-
DynaPDF.GetUseTransparency
Feedback: Report problem or ask question.