Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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