public class Type1DescriptorHelper extends FontDescriptorHelper<Type1Container>
context, fContainer, font, fontDescriptor
Constructor and Description |
---|
Type1DescriptorHelper(PreflightContext context,
PDFont font,
Type1Container fontContainer) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkMandatoryFields(COSDictionary fDescriptor) |
PDStream |
extractFontFile(PDFontDescriptorDictionary fontDescriptor) |
protected void |
processFontFile(PDFontDescriptorDictionary fontDescriptor,
PDStream fontFile) |
protected void |
processFontFile1(PDFontDescriptorDictionary fontDescriptor,
PDStream fontFile)
Try to load the font using the java.awt.font object.
|
protected void |
processFontFile3(PDFontDescriptorDictionary fontDescriptor,
PDStream fontFile)
Type1C is a CFF font format, extract all CFFFont object from the stream
|
checkFontFileMetaData, fontFileNotEmbedded, getMetaDataStreamAsBytes, hasOnlyOneFontFile, validate
public Type1DescriptorHelper(PreflightContext context, PDFont font, Type1Container fontContainer)
protected boolean checkMandatoryFields(COSDictionary fDescriptor)
checkMandatoryFields
in class FontDescriptorHelper<Type1Container>
public PDStream extractFontFile(PDFontDescriptorDictionary fontDescriptor)
extractFontFile
in class FontDescriptorHelper<Type1Container>
protected void processFontFile(PDFontDescriptorDictionary fontDescriptor, PDStream fontFile)
processFontFile
in class FontDescriptorHelper<Type1Container>
protected void processFontFile1(PDFontDescriptorDictionary fontDescriptor, PDStream fontFile)
fontDescriptor
- fontFile
- protected void processFontFile3(PDFontDescriptorDictionary fontDescriptor, PDStream fontFile)
fontStream
- ValidationException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.