Package | Description |
---|---|
org.apache.fontbox.cff |
This package holds classes used to parse CFF/Type2-Fonts (aka Type1C-Fonts).
|
org.apache.fontbox.ttf |
This package contains classes to parse a TTF file.
|
org.apache.fontbox.type1 |
This package holds classes used to parse Type1-Fonts.
|
org.apache.pdfbox.pdmodel.font |
Classes to deal with font functionality in a PDF Document.
|
Modifier and Type | Class and Description |
---|---|
class |
CFFCIDFont
A Type 0 CIDFont represented in a CFF file.
|
class |
CFFFont
An Adobe Compact Font Format (CFF) font.
|
class |
CFFType1Font
A Type 1-equivalent font program represented in a CFF file.
|
Modifier and Type | Class and Description |
---|---|
class |
OpenTypeFont
An OpenType (OTF/TTF) font.
|
class |
TrueTypeFont
A TrueType font file.
|
Modifier and Type | Class and Description |
---|---|
class |
Type1Font
Represents an Adobe Type 1 (.pfb) font.
|
Modifier and Type | Class and Description |
---|---|
class |
FontMapping<T extends FontBoxFont>
A font mapping from a PDF font to a FontBox font.
|
Modifier and Type | Field and Description |
---|---|
private T |
FontMapping.font |
private FontBoxFont |
PDType1Font.genericFont
embedded or system font for rendering.
|
private FontBoxFont |
PDType1CFont.genericFont |
private FontBoxFont |
PDCIDFontType0.t1Font |
private FontBoxFont |
CIDFontMapping.ttf |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<FontInfo,java.lang.ref.SoftReference<FontBoxFont>> |
FontCache.cache |
Modifier and Type | Method and Description |
---|---|
private FontBoxFont |
FontMapperImpl.findFont(FontFormat format,
java.lang.String postScriptName)
Finds a font with the given PostScript name, or a suitable substitute, or null.
|
private FontBoxFont |
FontMapperImpl.findFontBoxFont(java.lang.String postScriptName)
Finds a font with the given PostScript name, or a suitable substitute, or null.
|
abstract FontBoxFont |
FontInfo.getFont()
Returns a new FontBox font instance for the font.
|
FontBoxFont |
FileSystemFontProvider.FSFontInfo.getFont()
Returns a new FontBox font instance for the font.
|
FontBoxFont |
FontCache.getFont(FontInfo info)
Returns the FontBox font associated with the given FontInfo.
|
FontBoxFont |
PDCIDFontType0.getFontBoxFont()
Returns the embedded or substituted font.
|
abstract FontBoxFont |
PDSimpleFont.getFontBoxFont()
Returns the embedded or system font used for rendering.
|
FontBoxFont |
PDType3Font.getFontBoxFont() |
FontBoxFont |
PDType1Font.getFontBoxFont() |
FontBoxFont |
PDType1CFont.getFontBoxFont() |
FontBoxFont |
PDTrueTypeFont.getFontBoxFont() |
FontBoxFont |
CIDFontMapping.getTrueTypeFont()
Returns a TrueType font when isCIDFont() is true, otherwise null.
|
Modifier and Type | Method and Description |
---|---|
FontMapping<FontBoxFont> |
FontMapperImpl.getFontBoxFont(java.lang.String baseFont,
PDFontDescriptor fontDescriptor)
Finds a font with the given PostScript name, or a suitable substitute, or null.
|
FontMapping<FontBoxFont> |
FontMapper.getFontBoxFont(java.lang.String baseFont,
PDFontDescriptor fontDescriptor)
Finds a font with the given PostScript name, or a suitable substitute, or null.
|
Modifier and Type | Method and Description |
---|---|
void |
FontCache.addFont(FontInfo info,
FontBoxFont font)
Adds the given FontBox font to the cache.
|
Constructor and Description |
---|
CIDFontMapping(OpenTypeFont font,
FontBoxFont fontBoxFont,
boolean isFallback) |