Class RemoveUniqueFontSubsetFieldsRule

java.lang.Object
com.itextpdf.pdfoptimizer.handlers.fontmerging.RemoveUniqueFontSubsetFieldsRule
All Implemented Interfaces:
IValueUpdateRule

public class RemoveUniqueFontSubsetFieldsRule extends Object implements IValueUpdateRule
This rule removes unique to font subset fields when performing equality check or hash calculation for font PdfDictionary.
  • Constructor Details

    • RemoveUniqueFontSubsetFieldsRule

      public RemoveUniqueFontSubsetFieldsRule()
  • Method Details

    • update

      public void update (com.itextpdf.kernel.pdf.PdfDictionary pdfDictionary)
      Description copied from interface: IValueUpdateRule
      Change the PdfDictionary 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 interface IValueUpdateRule
      Parameters:
      pdfDictionary - is a PdfDictionary to modify