public interface FontMapper
Modifier and Type | Method and Description |
---|---|
CIDFontMapping |
getCIDFont(String baseFont,
PDFontDescriptor fontDescriptor,
PDCIDSystemInfo cidSystemInfo)
Finds a CFF CID-Keyed font with the given PostScript name, or a suitable substitute, or null.
|
FontMapping<org.apache.fontbox.FontBoxFont> |
getFontBoxFont(String baseFont,
PDFontDescriptor fontDescriptor)
Finds a font with the given PostScript name, or a suitable substitute, or null.
|
FontMapping<org.apache.fontbox.ttf.TrueTypeFont> |
getTrueTypeFont(String baseFont,
PDFontDescriptor fontDescriptor)
Finds a TrueType font with the given PostScript name, or a suitable substitute, or null.
|
FontMapping<org.apache.fontbox.ttf.TrueTypeFont> getTrueTypeFont(String baseFont, PDFontDescriptor fontDescriptor)
fontDescriptor
- FontDescriptorFontMapping<org.apache.fontbox.FontBoxFont> getFontBoxFont(String baseFont, PDFontDescriptor fontDescriptor)
fontDescriptor
- the FontDescriptor of the font to findCIDFontMapping getCIDFont(String baseFont, PDFontDescriptor fontDescriptor, PDCIDSystemInfo cidSystemInfo)
fontDescriptor
- FontDescriptorcidSystemInfo
- the CID system info, e.g. "Adobe-Japan1", if any.Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.