GetLastFontOptimizationJSON

Schriftarten

Beschreibung

Liefert einen JSON-Report zum letzten OptimizeEmbeddedFonts-Aufruf

Syntax

Delphi

Function TPDFlib.GetLastFontOptimizationJSON: WideString;

ActiveX

Function PDFlib::GetLastFontOptimizationJSON() As String

Verfügbar auf IPDFlibrary5 ab Typbibliotheksversion 3.6

DLL

const wchar_t* DLGetLastFontOptimizationJSON(int InstanceID);
const char* DLGetLastFontOptimizationJSONA(int InstanceID);

Rückgabewerte

Ein Objekt mit schemaVersion, optimized und einem fonts-Array. Jeder Font-Eintrag enthält object, baseFont (der neue Name nach dem Umschreiben), status, usedCodes (Anzahl der genutzten CIDs), originalBytes und optimizedBytes

Der Status ist optimized, already-minimal, unused, existing-subset, reserved-for-new-text, shared-program, unparsed-content, unsupported-encoding, unsupported-program, invalid-descendant, invalid-cid-map oder subset-failed

Siehe auch

OptimizeEmbeddedFonts