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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

DynaPDF.SysFontInfoAsJSON

Queries all system fonts as JSON array.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 10.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.SysFontInfoAsJSON"; PDF )   More

Parameters

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

Result

Returns JSON or error.

Description

Queries all system fonts as JSON array.
See TPDFSysFont structure in DynaPDF help, which we convert to JSON for you.
We add Embeddable and Editable boolean values, filled by flags.

Keys include: BaseType, CIDOrdering, CIDRegistry, CIDSupplement, DataOffset, FamilyName, FilePath, FileSize, Flags, Flags, Flags, FullName, Length1, Length2, PostScriptName, Index, IsFixedPitch, Style, UnicodeRange1, UnicodeRange2, UnicodeRange3 and UnicodeRange4.

See also SysFontInfoAsJSON function in DynaPDF manual.

Examples

Query JSON:

Set Variable [ $JSON; Value: MBS( "DynaPDF.SysFontInfoAsJSON"; PDF ) ]

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 16th September 2020, last changed 2nd September 2022


DynaPDF.SysFontInfo - DynaPDF.Table.AddColumn

💬 Ask a question or report a problem