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.GetFontAsJSON
Queries one font within the PDF as JSON object.
Component |
Version |
macOS |
Windows |
Linux |
Server |
iOS SDK |
DynaPDF
|
10.5 |
✅ Yes
|
✅ Yes
|
✅ Yes
|
✅ Yes
|
✅ Yes
|
MBS( "DynaPDF.GetFontAsJSON"; PDF; Index )
More
MBS(
"DynaPDF.GetFontAsJSON"; /* Queries one font within the PDF as JSON object. */
$PDF; /* The PDF reference returned from
DynaPDF.New. */
$Index) /* The font index from zero to
DynaPDF.GetFontCount.e.g. 0 */
Less
Parameters
Result
Returns JSON or error.
Description
Queries one font within the PDF as JSON object.
See TPDFFontInfo structure in DynaPDF manual, which we convert to JSON for you.
Keys include Ascent, AvgWidth, BaseEncoding, BaseFont, CapHeight, CharSet, CharSetSize, CIDOrdering, CIDRegistry, CIDSet, CIDSetSize, CIDSupplement, CIDToGIDMap, CIDToGIDMapSize, CMapBuf, CMapBufSize, CMapName, Descent, Encoding, FirstChar, Flags, FontBBox, FontBuffer, FontBufSize, FontFamily, FontFilePath, FontFileType, FontName, FontStretch, FontType, FontWeight, FullName, HaveEncoding, HorzWidths, HorzWidthsCount, Imported, ItalicAngle, Lang, LastChar, Leading, Length1, Length2, Length3, MaxWidth, Metadata, MetadataSize, MisWidth, Panose, PostScriptName, SpaceWidth, StemH, StemV, ToUnicode, ToUnicodeSize, VertDefPos, VertWidths, VertWidthsCount, WMode, XHeight and Index.
See also
Release notes
Blog Entries
FileMaker Magazin
Created 19th September 2020, last changed 19th September 2020
DynaPDF.GetFieldsAsJSON
-
DynaPDF.GetFontCount
Feedback: Report problem or ask question.