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<FontBoxFont> |
getFontBoxFont(String baseFont,
PDFontDescriptor fontDescriptor)
Finds a font with the given PostScript name, or a suitable substitute, or null.
|
FontMapping<TrueTypeFont> |
getTrueTypeFont(String baseFont,
PDFontDescriptor fontDescriptor)
Finds a TrueType font with the given PostScript name, or a suitable substitute, or null.
|
FontMapping<TrueTypeFont> getTrueTypeFont(String baseFont, PDFontDescriptor fontDescriptor)
fontDescriptor
- FontDescriptorFontMapping<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–2018 The Apache Software Foundation. All rights reserved.