Class FontDictionaryPredicate
java.lang.Object
com.itextpdf.pdfoptimizer.handlers.fontduplication.predicates.FontDictionaryPredicate
- All Implemented Interfaces:
-
IPdfObjectPredicate
Checks if current
PdfObject is a font PdfDictionary.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleantest(com.itextpdf.kernel.pdf.PdfObject object) Checks that current object is aPdfDictionaryand has keyPdfName.Typeand it is associated with the valuePdfName.Fontand also has keyPdfName.Subtypewith the value ofPdfFontimplementations.
-
Constructor Details
-
FontDictionaryPredicate
public FontDictionaryPredicate()
-
-
Method Details
-
test
public boolean test(com.itextpdf.kernel.pdf.PdfObject object) Checks that current object is aPdfDictionaryand has keyPdfName.Typeand it is associated with the valuePdfName.Fontand also has keyPdfName.Subtypewith the value ofPdfFontimplementations.- Specified by:
-
testin interfaceIPdfObjectPredicate - Parameters:
-
object- is an argument - Returns:
- is a result of evaluation
-