| Package | Description |
|---|---|
| org.docx4j.fonts | |
| org.docx4j.fonts.fop.fonts |
Classes for font handling.
|
| org.docx4j.fonts.fop.fonts.autodetect |
A collection of classes that aid in the autodetection of installed system fonts.
|
| org.docx4j.fonts.fop.render.java2d |
| Modifier and Type | Method and Description |
|---|---|
EmbedFontInfo |
PhysicalFont.getEmbedFontInfo() |
| Modifier and Type | Method and Description |
|---|---|
EmbedFontInfo[] |
FontCache.getFontInfos(String embedUrl,
long lastModified)
Returns the EmbedFontInfo instances belonging to a font file.
|
| Modifier and Type | Method and Description |
|---|---|
List<EmbedFontInfo> |
DefaultFontConfigurator.configure(FontConfig fontInfoConfig)
Initializes font info settings from the user configuration
|
| Modifier and Type | Method and Description |
|---|---|
void |
FontCache.addFont(EmbedFontInfo fontInfo,
InternalResourceResolver resourceResolver)
Adds a font info to cache
|
boolean |
FontCache.containsFont(EmbedFontInfo fontInfo)
is this font info in the cache?
|
protected static String |
FontCache.getCacheKey(EmbedFontInfo fontInfo)
creates a key given a font info for the font mapping
|
| Modifier and Type | Method and Description |
|---|---|
void |
FontAdder.add(List<URL> fontURLList,
List<EmbedFontInfo> fontInfoList)
Iterates over font url list adding to font info list
|
void |
FontManager.autoDetectFonts(boolean autoDetectFonts,
FontAdder fontAdder,
boolean strict,
FontEventListener listener,
List<EmbedFontInfo> fontInfoList)
Detect fonts from the operating system via FOPs autodetect mechanism.
|
void |
FontDetector.detect(FontManager fontManager,
FontAdder fontAdder,
boolean strict,
FontEventListener eventListener,
List<EmbedFontInfo> fontInfoList) |
void |
FontManager.updateReferencedFonts(List<EmbedFontInfo> fontInfoList)
Updates the referenced font list using the FontManager's referenced fonts matcher
(
FontManager.getReferencedFontsMatcher()). |
void |
FontManager.updateReferencedFonts(List<EmbedFontInfo> fontInfoList,
FontTriplet.Matcher matcher)
Updates the referenced font list.
|
| Constructor and Description |
|---|
LazyFont(EmbedFontInfo fontInfo,
InternalResourceResolver resourceResolver,
boolean useComplexScripts)
Main constructor
|
| Constructor and Description |
|---|
CustomFontCollection(InternalResourceResolver fontResolver,
List<EmbedFontInfo> customFonts,
boolean useComplexScriptFeatures)
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
EmbedFontInfo[] |
FontInfoFinder.find(URI fontURI,
InternalResourceResolver resourceResolver,
FontCache fontCache)
Attempts to determine EmbedFontInfo from a given font file.
|
| Constructor and Description |
|---|
ConfiguredFontCollection(InternalResourceResolver resourceResolver,
List<EmbedFontInfo> customFonts,
boolean useComplexScriptFeatures)
Main constructor
|
Copyright © 2007-2022. All Rights Reserved.