THotPDF.DeduplicateLoadedEmbeddedFonts Method

Merges identical FontFile, FontFile2 and FontFile3 programs, then merges compatible font dictionaries after normalizing six-letter subset prefixes

Declaration

function DeduplicateLoadedEmbeddedFonts(
    out AInfo: THPDFLoadedResourceOptimizationInfo): Integer;

Result

The return value combines program and font dictionary merges while AInfo reports them separately

Resource and Image Optimization