public class PfmFontRegistry extends AbstractFontFileRegistry
| Constructor and Description |
|---|
PfmFontRegistry() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addFont(File font,
String encoding)
Adds the fontname by creating the basefont object.
|
FontMetricsFactory |
createMetricsFactory()
Creates a new font metrics factory.
|
FontCache |
getSecondLevelCache() |
boolean |
isItextCompatibleChecks() |
void |
setItextCompatibleChecks(boolean itextCompatibleChecks) |
getAllRegisteredFamilies, getFontFamily, getRegisteredFamilies, initialize, registerDefaultFontPath, registerFontFile, registerFontFile, registerFontPathpublic boolean isItextCompatibleChecks()
public void setItextCompatibleChecks(boolean itextCompatibleChecks)
public FontMetricsFactory createMetricsFactory()
FontRegistrypublic FontCache getSecondLevelCache()
public boolean addFont(File font, String encoding) throws IOException
font - the font file name.encoding - the encoding.IOException - if the base font file could not be read.