| Package | Description |
|---|---|
| org.docx4j.fonts.fop.fonts |
Classes for font handling.
|
| org.docx4j.fonts.fop.fonts.substitute |
Font substitution facilities.
|
| org.docx4j.fonts.fop.util |
| Modifier and Type | Method and Description |
|---|---|
void |
FontManager.autoDetectFonts(boolean autoDetectFonts,
FontAdder fontAdder,
boolean strict,
FontEventListener listener,
List<EmbedFontInfo> fontInfoList)
Detect fonts from the operating system via FOPs autodetect mechanism.
|
List<T> |
FontConfigurator.configure(FontConfig fontInfoConfig)
Initializes font info settings from the user configuration
|
List<EmbedFontInfo> |
DefaultFontConfigurator.configure(FontConfig fontInfoConfig)
Initializes font info settings from the user configuration
|
void |
FontManagerConfigurator.configure(FontManager fontManager,
boolean strict)
Initializes font settings from the user configuration
|
static FontTriplet.Matcher |
FontManagerConfigurator.createFontsMatcher(Configuration cfg,
boolean strict)
Creates a font triplet matcher from a configuration object.
|
static FontTriplet.Matcher |
FontManagerConfigurator.createFontsMatcher(List<String> fontFamilies,
boolean strict)
Creates a font triplet matcher from a configuration object.
|
void |
FontCacheManager.delete()
Deletes the font cache from the file-system.
|
void |
FontManager.deleteCache()
Deletes the current FontCache file
|
void |
FontDetector.detect(FontManager fontManager,
FontAdder fontAdder,
boolean strict,
FontEventListener eventListener,
List<EmbedFontInfo> fontInfoList) |
DefaultFontConfig |
DefaultFontConfig.DefaultFontConfigParser.parse(Configuration cfg,
boolean strict)
Parses the font configuration and return the configuration object.
|
DefaultFontConfig |
DefaultFontConfig.DefaultFontConfigParser.parse(Configuration cfg,
boolean strict,
FontEventAdapter eventAdapter) |
FontConfig |
DefaultFontConfig.DefaultFontConfigParser.parse(Configuration cfg,
FontManager fontManager,
boolean strict,
org.apache.fop.events.EventProducer eventProducer)
Parse the font configuration and return an object containing all the necessary data.
|
FontConfig |
FontConfig.FontConfigParser.parse(Configuration cfg,
FontManager fontManager,
boolean strict,
org.apache.fop.events.EventProducer eventProducer)
Parse the font configuration and return an object containing all the necessary data.
|
void |
FontCache.save()
Deprecated.
use
FontCache.saveTo(File) instead |
void |
FontCacheManager.save()
Serializes the font cache to file.
|
void |
FontManager.saveCache()
Saves the FontCache as necessary
|
void |
FontCache.saveTo(File cacheFile)
Writes the font cache to disk.
|
| Constructor and Description |
|---|
XMLFontMetricsReader(InputSource source,
InternalResourceResolver resourceResolver)
Deprecated.
Construct a XMLFontMetricsReader object from a path to a metric.xml file
and read metric data
|
| Modifier and Type | Method and Description |
|---|---|
void |
FontSubstitutionsConfigurator.configure(FontSubstitutions substitutions)
Configures a font substitution catalog
|
| Modifier and Type | Method and Description |
|---|---|
static void |
LogUtil.handleError(org.slf4j.Logger log,
String errorStr,
boolean strict)
Convenience method that handles any error appropriately
|
static void |
LogUtil.handleException(org.slf4j.Logger log,
Exception e,
boolean strict)
Convenience method that handles any error appropriately
|
Copyright © 2007-2022. All Rights Reserved.