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.
|
protected String |
getCacheFileName() |
protected FileFilter |
getFileFilter() |
FontCache |
getSecondLevelCache() |
boolean |
isItextCompatibleChecks() |
void |
setItextCompatibleChecks(boolean itextCompatibleChecks) |
createFamily, createStorageLocation, getAllRegisteredFamilies, getDefaultEncoding, getFontFamily, getRegisteredFamilies, getSeenFiles, initialize, isCached, isCacheValid, loadFromCache, loadFromCache, populateFromCache, registerAlternativeName, registerDefaultFontPath, registerFontFile, registerFontFile, registerFontPath, registerFullName, registerPrimaryName, safeSystemGetProperty, storeToCachepublic boolean isItextCompatibleChecks()
public void setItextCompatibleChecks(boolean itextCompatibleChecks)
protected FileFilter getFileFilter()
getFileFilter in class AbstractFontFileRegistrypublic FontMetricsFactory createMetricsFactory()
FontRegistrypublic FontCache getSecondLevelCache()
public boolean addFont(File font, String encoding) throws IOException
addFont in class AbstractFontFileRegistryfont - the font file name.encoding - the encoding.IOException - if the base font file could not be read.protected String getCacheFileName()
getCacheFileName in class AbstractFontFileRegistryCopyright © 2020 Hitachi Vantara. All rights reserved.