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 TypeMethodDescriptionvoidupdate(com.itextpdf.kernel.pdf.PdfDictionary pdfDictionary) Change thePdfDictionarybefore 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:IValueUpdateRuleChange thePdfDictionarybefore 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:
-
updatein interfaceIValueUpdateRule - Parameters:
-
pdfDictionary- is a PdfDictionary to modify
-