GetLastFontOptimizationJSONA

Fonts

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetLastFontOptimizationJSON and string arguments are interpreted using the current SetAnsiMode code page

Returns a JSON report for the most recent OptimizeEmbeddedFonts call

Syntax

Delphi

Function DLGetLastFontOptimizationJSONA(InstanceID: Integer): PAnsiChar;

DLL

const char* DLGetLastFontOptimizationJSONA(int InstanceID);

Return values

An object with schemaVersion, optimized and a fonts array. Each font entry has object, baseFont (the new name when rewritten), status, usedCodes (the number of CIDs in use), originalBytes and optimizedBytes

The status is optimized, already-minimal, unused, existing-subset, reserved-for-new-text, shared-program, unparsed-content, unsupported-encoding, unsupported-program, invalid-descendant, invalid-cid-map or subset-failed

See also

OptimizeEmbeddedFonts