Class RemoveUniqueFontSubsetFieldsRule
java.lang.Object
com.itextpdf.pdfoptimizer.handlers.fontmerging.RemoveUniqueFontSubsetFieldsRule
- All Implemented Interfaces:
-
IValueUpdateRule
This rule removes unique to font subset fields when performing equality check or hash calculation for font
PdfDictionary
.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
update
(com.itextpdf.kernel.pdf.PdfDictionary pdfDictionary) Change thePdfDictionary
before hash calculating / equality check to allow more flexible comparison logic.
-
Constructor Details
-
RemoveUniqueFontSubsetFieldsRule
public RemoveUniqueFontSubsetFieldsRule()
-
-
Method Details
-
update
public void update(com.itextpdf.kernel.pdf.PdfDictionary pdfDictionary) Description copied from interface:IValueUpdateRule
Change thePdfDictionary
before hash calculating / equality check to allow more flexible comparison logic. Note that it is not expected to change the internal state of any object included into the original dictionary as a value. New object should be put instead.- Specified by:
-
update
in interfaceIValueUpdateRule
- Parameters:
-
pdfDictionary
- is a PdfDictionary to modify
-