Class CIDType0DescriptorHelper
java.lang.Object
org.apache.pdfbox.preflight.font.descriptor.FontDescriptorHelper<CIDType0Container>
org.apache.pdfbox.preflight.font.descriptor.CIDType0DescriptorHelper
-
Field Summary
Fields inherited from class org.apache.pdfbox.preflight.font.descriptor.FontDescriptorHelper
context, fContainer, font, fontDescriptor
-
Constructor Summary
ConstructorsConstructorDescriptionCIDType0DescriptorHelper
(PreflightContext context, PDFontLike font, CIDType0Container fontContainer) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkCIDSet
(PDFontDescriptor pfDescriptor) If the embedded font is a subset, the CIDSet entry is mandatory and must be a Stream.extractFontFile
(PDFontDescriptor fontDescriptor) protected void
processFontFile
(PDFontDescriptor fontDescriptor, PDStream fontFile) Methods inherited from class org.apache.pdfbox.preflight.font.descriptor.FontDescriptorHelper
checkFontFileMetaData, checkMandatoryFields, fontFileNotEmbedded, getMetaDataStreamAsBytes, hasOnlyOneFontFile, isSubSet, validate
-
Constructor Details
-
CIDType0DescriptorHelper
public CIDType0DescriptorHelper(PreflightContext context, PDFontLike font, CIDType0Container fontContainer)
-
-
Method Details
-
extractFontFile
- Specified by:
extractFontFile
in classFontDescriptorHelper<CIDType0Container>
-
checkCIDSet
If the embedded font is a subset, the CIDSet entry is mandatory and must be a Stream. If the CIDSet entry doesn't respects conditions, the FontContainer is updated.- Parameters:
pfDescriptor
-
-
processFontFile
- Specified by:
processFontFile
in classFontDescriptorHelper<CIDType0Container>
-