public class CIDType0DescriptorHelper extends FontDescriptorHelper<CIDType0Container>
context, fContainer, font, fontDescriptor| Constructor and Description |
|---|
CIDType0DescriptorHelper(PreflightContext context,
PDFont font,
CIDType0Container fontContainer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkCIDSet(PDFontDescriptorDictionary pfDescriptor)
If the embedded font is a subset, the CIDSet entry is mandatory and must be a Stream.
|
PDStream |
extractFontFile(PDFontDescriptorDictionary fontDescriptor) |
protected void |
processFontFile(PDFontDescriptorDictionary fontDescriptor,
PDStream fontFile) |
checkFontFileMetaData, checkMandatoryFields, fontFileNotEmbedded, getMetaDataStreamAsBytes, hasOnlyOneFontFile, validatepublic CIDType0DescriptorHelper(PreflightContext context, PDFont font, CIDType0Container fontContainer)
public PDStream extractFontFile(PDFontDescriptorDictionary fontDescriptor)
extractFontFile in class FontDescriptorHelper<CIDType0Container>protected void checkCIDSet(PDFontDescriptorDictionary pfDescriptor)
pfDescriptor - protected void processFontFile(PDFontDescriptorDictionary fontDescriptor, PDStream fontFile)
processFontFile in class FontDescriptorHelper<CIDType0Container>Copyright © 2002–2019 The Apache Software Foundation. All rights reserved.