|
pdfOptimizer 4.1.2 API
|
Looks for font dictionary duplications and merges them. More...
Package Functions |
|
| override void | OptimizePdf (PdfDocument document, OptimizationSession session) |
| The method searches for font dictionaries in PdfDocuments and compare them. More... |
|
Looks for font dictionary duplications and merges them.
|
inlinepackagevirtual |
The method searches for font dictionaries in PdfDocuments and compare them.
The method searches for font dictionaries in PdfDocuments and compare them. If two dictionaries are similar and can be merged into one then optimizer does it and replace all old pdf dictionaries. Duplicated direct objects will be removed. Definitions of indirect objects will be left, however if iText.Kernel.Pdf.PdfDocument.IsFlushUnusedObjects() returns false then they will be ignored during flushing.
Implements iText.Pdfoptimizer.AbstractOptimizationHandler.