Uses of Class
org.apache.pdfbox.pdmodel.font.PDFontDescriptor
Packages that use PDFontDescriptor
Package
Description
Classes to deal with font functionality in a PDF Document.
-
Uses of PDFontDescriptor in org.apache.pdfbox.pdmodel.font
Fields in org.apache.pdfbox.pdmodel.font declared as PDFontDescriptorModifier and TypeFieldDescriptionprivate PDFontDescriptorPDCIDFont.fontDescriptorprivate PDFontDescriptorPDFont.fontDescriptorprotected PDFontDescriptorTrueTypeEmbedder.fontDescriptorMethods in org.apache.pdfbox.pdmodel.font that return PDFontDescriptorModifier and TypeMethodDescription(package private) static PDFontDescriptorPDType1FontEmbedder.buildFontDescriptor(FontMetrics metrics) Returns a PDFontDescriptor for the given AFM.(package private) static PDFontDescriptorPDType1FontEmbedder.buildFontDescriptor(Type1Font type1) Returns a PDFontDescriptor for the given PFB.private PDFontDescriptorTrueTypeEmbedder.createFontDescriptor(TrueTypeFont ttf) Creates a new font descriptor dictionary for the given TTF.PDCIDFont.getFontDescriptor()PDFont.getFontDescriptor()PDFontLike.getFontDescriptor()Returns the font descriptor, may be null.PDType0Font.getFontDescriptor()TrueTypeEmbedder.getFontDescriptor()Returns the font descriptor.private PDFontDescriptorPDFont.loadFontDescriptor()Methods in org.apache.pdfbox.pdmodel.font with parameters of type PDFontDescriptorModifier and TypeMethodDescriptionFontMapper.getCIDFont(String baseFont, PDFontDescriptor fontDescriptor, PDCIDSystemInfo cidSystemInfo) Finds a CFF CID-Keyed font with the given PostScript name, or a suitable substitute, or null.FontMapperImpl.getCIDFont(String baseFont, PDFontDescriptor fontDescriptor, PDCIDSystemInfo cidSystemInfo) Finds a CFF CID-Keyed font with the given PostScript name, or a suitable substitute, or null.private StringFontMapperImpl.getFallbackFontName(PDFontDescriptor fontDescriptor) Attempts to find a good fallback based on the font descriptor.FontMapper.getFontBoxFont(String baseFont, PDFontDescriptor fontDescriptor) Finds a font with the given PostScript name, or a suitable substitute, or null.FontMapperImpl.getFontBoxFont(String baseFont, PDFontDescriptor fontDescriptor) Finds a font with the given PostScript name, or a suitable substitute, or null.private PriorityQueue<FontMapperImpl.FontMatch>FontMapperImpl.getFontMatches(PDFontDescriptor fontDescriptor, PDCIDSystemInfo cidSystemInfo) Returns a list of matching fonts, scored by suitability.FontMapper.getTrueTypeFont(String baseFont, PDFontDescriptor fontDescriptor) Finds a TrueType font with the given PostScript name, or a suitable substitute, or null.FontMapperImpl.getTrueTypeFont(String baseFont, PDFontDescriptor fontDescriptor) Finds a TrueType font with the given PostScript name, or a suitable substitute, or null.private booleanFontMapperImpl.probablyBarcodeFont(PDFontDescriptor fontDescriptor) protected final voidPDFont.setFontDescriptor(PDFontDescriptor fontDescriptor) Sets the font descriptor when embedding a font. -
Uses of PDFontDescriptor in org.apache.pdfbox.preflight.font.descriptor
Fields in org.apache.pdfbox.preflight.font.descriptor declared as PDFontDescriptorMethods in org.apache.pdfbox.preflight.font.descriptor with parameters of type PDFontDescriptorModifier and TypeMethodDescriptionprotected voidCIDType0DescriptorHelper.checkCIDSet(PDFontDescriptor pfDescriptor) If the embedded font is a subset, the CIDSet entry is mandatory and must be a Stream.protected voidCIDType2DescriptorHelper.checkCIDSet(PDFontDescriptor pfDescriptor) If the embedded font is a subset, the CIDSet entry is mandatory and must be a Stream.protected voidFontDescriptorHelper.checkFontFileMetaData(PDFontDescriptor fontDescriptor, PDStream fontFile) Type0, Type1 and TrueType FontValidator call this method to check the FontFile meta data.CIDType0DescriptorHelper.extractFontFile(PDFontDescriptor fontDescriptor) CIDType2DescriptorHelper.extractFontFile(PDFontDescriptor fontDescriptor) abstract PDStreamFontDescriptorHelper.extractFontFile(PDFontDescriptor fontDescriptor) TrueTypeDescriptorHelper.extractFontFile(PDFontDescriptor fontDescriptor) Type1DescriptorHelper.extractFontFile(PDFontDescriptor fontDescriptor) protected booleanFontDescriptorHelper.fontFileNotEmbedded(PDFontDescriptor fontDescriptor) protected booleanFontDescriptorHelper.hasOnlyOneFontFile(PDFontDescriptor fontDescriptor) Return true if the FontDescriptor has only one FontFile entry.protected voidCIDType0DescriptorHelper.processFontFile(PDFontDescriptor fontDescriptor, PDStream fontFile) protected voidCIDType2DescriptorHelper.processFontFile(PDFontDescriptor fontDescriptor, PDStream fontFile) protected abstract voidFontDescriptorHelper.processFontFile(PDFontDescriptor fontDescriptor, PDStream fontFile) protected voidTrueTypeDescriptorHelper.processFontFile(PDFontDescriptor fontDescriptor, PDStream fontFile) protected voidType1DescriptorHelper.processFontFile(PDFontDescriptor fontDescriptor, PDStream fontFile) -
Uses of PDFontDescriptor in org.apache.pdfbox.preflight.font.util
Methods in org.apache.pdfbox.preflight.font.util with parameters of type PDFontDescriptorModifier and TypeMethodDescriptionbooleanFontMetaDataValidation.analyseFontName(XMPMetadata metadata, PDFontDescriptor fontDesc, List<ValidationResult.ValidationError> ve) Value of the dc:title must be the same as the FontName in the font descriptor.booleanFontMetaDataValidation.analyseRights(XMPMetadata metadata, PDFontDescriptor fontDesc, List<ValidationResult.ValidationError> ve) If XMP MetaData is present, they must have the following information : dc:rights Marked (with the value true) Owner UsageTermsFontMetaDataValidation.validatePDFAIdentifer(XMPMetadata metadata, PDFontDescriptor fontDesc) -
Uses of PDFontDescriptor in org.apache.pdfbox.tools
Methods in org.apache.pdfbox.tools with parameters of type PDFontDescriptorModifier and TypeMethodDescriptionprivate booleanPDFText2HTML.FontState.isBold(PDFontDescriptor descriptor) private booleanPDFText2HTML.FontState.isItalic(PDFontDescriptor descriptor)