Uses of Class
org.apache.pdfbox.pdmodel.font.PDFontDescriptor
-
Packages that use PDFontDescriptor Package Description org.apache.pdfbox.pdmodel.font Classes to deal with font functionality in a PDF Document.org.apache.pdfbox.preflight.font.descriptor org.apache.pdfbox.preflight.font.util org.apache.pdfbox.tools -
-
Uses of PDFontDescriptor in org.apache.pdfbox.pdmodel.font
Fields in org.apache.pdfbox.pdmodel.font declared as PDFontDescriptor Modifier and Type Field Description private PDFontDescriptorPDCIDFont. fontDescriptorprivate PDFontDescriptorPDFont. fontDescriptorprotected PDFontDescriptorTrueTypeEmbedder. fontDescriptorMethods in org.apache.pdfbox.pdmodel.font that return PDFontDescriptor Modifier and Type Method Description (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.PDFontDescriptorPDCIDFont. getFontDescriptor()PDFontDescriptorPDFont. getFontDescriptor()PDFontDescriptorPDFontLike. getFontDescriptor()Returns the font descriptor, may be null.PDFontDescriptorPDType0Font. getFontDescriptor()PDFontDescriptorTrueTypeEmbedder. getFontDescriptor()Returns the font descriptor.private PDFontDescriptorPDFont. loadFontDescriptor()Methods in org.apache.pdfbox.pdmodel.font with parameters of type PDFontDescriptor Modifier and Type Method Description CIDFontMappingFontMapper. getCIDFont(java.lang.String baseFont, PDFontDescriptor fontDescriptor, PDCIDSystemInfo cidSystemInfo)Finds a CFF CID-Keyed font with the given PostScript name, or a suitable substitute, or null.CIDFontMappingFontMapperImpl. getCIDFont(java.lang.String baseFont, PDFontDescriptor fontDescriptor, PDCIDSystemInfo cidSystemInfo)Finds a CFF CID-Keyed font with the given PostScript name, or a suitable substitute, or null.private java.lang.StringFontMapperImpl. getFallbackFontName(PDFontDescriptor fontDescriptor)Attempts to find a good fallback based on the font descriptor.FontMapping<FontBoxFont>FontMapper. getFontBoxFont(java.lang.String baseFont, PDFontDescriptor fontDescriptor)Finds a font with the given PostScript name, or a suitable substitute, or null.FontMapping<FontBoxFont>FontMapperImpl. getFontBoxFont(java.lang.String baseFont, PDFontDescriptor fontDescriptor)Finds a font with the given PostScript name, or a suitable substitute, or null.private java.util.PriorityQueue<FontMapperImpl.FontMatch>FontMapperImpl. getFontMatches(PDFontDescriptor fontDescriptor, PDCIDSystemInfo cidSystemInfo)Returns a list of matching fonts, scored by suitability.FontMapping<TrueTypeFont>FontMapper. getTrueTypeFont(java.lang.String baseFont, PDFontDescriptor fontDescriptor)Finds a TrueType font with the given PostScript name, or a suitable substitute, or null.FontMapping<TrueTypeFont>FontMapperImpl. getTrueTypeFont(java.lang.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 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 PDFontDescriptor Modifier and Type Field Description protected PDFontDescriptorFontDescriptorHelper. fontDescriptorMethods in org.apache.pdfbox.preflight.font.descriptor with parameters of type PDFontDescriptor Modifier and Type Method Description protected 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.PDStreamCIDType0DescriptorHelper. extractFontFile(PDFontDescriptor fontDescriptor)PDStreamCIDType2DescriptorHelper. extractFontFile(PDFontDescriptor fontDescriptor)abstract PDStreamFontDescriptorHelper. extractFontFile(PDFontDescriptor fontDescriptor)PDStreamTrueTypeDescriptorHelper. extractFontFile(PDFontDescriptor fontDescriptor)PDStreamType1DescriptorHelper. 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 PDFontDescriptor Modifier and Type Method Description booleanFontMetaDataValidation. analyseFontName(XMPMetadata metadata, PDFontDescriptor fontDesc, java.util.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, java.util.List<ValidationResult.ValidationError> ve)If XMP MetaData is present, they must have the following information : dc:rights Marked (with the value true) Owner UsageTermsjava.util.List<ValidationResult.ValidationError>FontMetaDataValidation. validatePDFAIdentifer(XMPMetadata metadata, PDFontDescriptor fontDesc) -
Uses of PDFontDescriptor in org.apache.pdfbox.tools
Methods in org.apache.pdfbox.tools with parameters of type PDFontDescriptor Modifier and Type Method Description private booleanPDFText2HTML.FontState. isBold(PDFontDescriptor descriptor)private booleanPDFText2Markdown.FontState. isBold(PDFontDescriptor descriptor)private booleanPDFText2HTML.FontState. isItalic(PDFontDescriptor descriptor)private booleanPDFText2Markdown.FontState. isItalic(PDFontDescriptor descriptor)
-