Class CIDType2DescriptorHelper
java.lang.Object
org.apache.pdfbox.preflight.font.descriptor.FontDescriptorHelper<CIDType2Container>
org.apache.pdfbox.preflight.font.descriptor.CIDType2DescriptorHelper
-
Field Summary
Fields inherited from class org.apache.pdfbox.preflight.font.descriptor.FontDescriptorHelper
context, fContainer, font, fontDescriptor
-
Constructor Summary
ConstructorsConstructorDescriptionCIDType2DescriptorHelper
(PreflightContext context, PDFontLike font, CIDType2Container 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
-
CIDType2DescriptorHelper
public CIDType2DescriptorHelper(PreflightContext context, PDFontLike font, CIDType2Container fontContainer)
-
-
Method Details
-
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
-
-
extractFontFile
- Specified by:
extractFontFile
in classFontDescriptorHelper<CIDType2Container>
-
processFontFile
- Specified by:
processFontFile
in classFontDescriptorHelper<CIDType2Container>
-