public abstract class DescendantFontValidator<T extends FontContainer> extends SimpleFontValidator<T>
Modifier and Type | Field and Description |
---|---|
protected COSDocument |
cosDocument |
font, fontDictionary
context, descriptorHelper, fontContainer
Constructor and Description |
---|
DescendantFontValidator(PreflightContext context,
PDCIDFont font,
T fContainer) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkCIDSystemInfo(COSBase sysinfo)
Check the content of the CIDSystemInfo dictionary.
|
protected abstract void |
checkCIDToGIDMap(COSBase ctog)
This method checks the CIDtoGIDMap entry of the Font dictionary.
|
protected void |
checkCIDToGIDMap(COSBase ctog,
boolean mandatory)
This method checks the CIDtoGIDMap entry of the Font dictionary.
|
protected void |
checkMandatoryField() |
createFontDescriptorHelper, processFontDescriptorValidation, validate
checkEncoding, checkToUnicode, getFontContainer
protected COSDocument cosDocument
public DescendantFontValidator(PreflightContext context, PDCIDFont font, T fContainer)
protected void checkMandatoryField()
checkMandatoryField
in class SimpleFontValidator<T extends FontContainer>
protected void checkCIDSystemInfo(COSBase sysinfo)
sysinfo
- protected abstract void checkCIDToGIDMap(COSBase ctog)
ctog
- protected void checkCIDToGIDMap(COSBase ctog, boolean mandatory)
ctog
- mandatory
- true for CIDType2 , false for CIDType0Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.