Package | Description |
---|---|
org.apache.fop.fonts |
Classes for font handling.
|
org.apache.fop.fonts.autodetect |
A collection of classes that aid in the autodetection of installed system fonts.
|
org.apache.fop.fonts.truetype |
Classes for TrueType fonts.
|
org.apache.fop.fonts.type1 |
Classes for Adobe Type 1 fonts.
|
org.apache.fop.render |
Generic renderer interface.
|
org.apache.fop.render.java2d |
Java2D Renderer which paints rendered pages on Graphics2D instances.
|
Modifier and Type | Field and Description |
---|---|
protected FontResolver |
FontLoader.resolver
the FontResolver to use for font URI resolution
|
Modifier and Type | Method and Description |
---|---|
static FontResolver |
FontSetup.createMinimalFontResolver() |
Modifier and Type | Method and Description |
---|---|
static void |
FontSetup.addConfiguredFonts(FontInfo fontInfo,
java.util.List fontInfoList,
int num,
FontResolver resolver)
Add fonts from configuration file starting with internal name F
|
static CustomFont |
FontLoader.loadFont(java.io.File fontFile,
FontResolver resolver)
Loads a custom font from a File.
|
static CustomFont |
FontLoader.loadFont(java.lang.String fontFileURI,
FontResolver resolver)
Loads a custom font from a URI.
|
static CustomFont |
FontLoader.loadFont(java.net.URL fontUrl,
FontResolver resolver)
Loads a custom font from an URL.
|
protected static java.io.InputStream |
FontLoader.openFontUri(FontResolver resolver,
java.lang.String uri)
Opens a font URI and returns an input stream.
|
void |
FontReader.setResolver(FontResolver resolver)
Sets the font resolver.
|
void |
CustomFont.setResolver(FontResolver resolver)
Sets the font resolver.
|
static void |
FontSetup.setup(FontInfo fontInfo,
java.util.List embedList,
FontResolver resolver)
Sets up the font info object.
|
static void |
FontSetup.setup(FontInfo fontInfo,
java.util.List embedList,
FontResolver resolver,
boolean enableBase14Kerning)
Sets up the font info object.
|
Constructor and Description |
---|
FontLoader(java.lang.String fontFileURI,
FontResolver resolver)
Default constructor.
|
LazyFont(EmbedFontInfo fontInfo,
FontResolver resolver)
Main constructor
|
Modifier and Type | Method and Description |
---|---|
EmbedFontInfo |
FontInfoFinder.find(java.net.URL fontUrl,
FontResolver resolver,
FontCache fontCache)
Attempts to determine EmbedFontInfo from a given font file.
|
Constructor and Description |
---|
TTFFontLoader(java.lang.String fontFileURI,
FontResolver resolver)
Default constructor
|
Constructor and Description |
---|
Type1FontLoader(java.lang.String fontFileURI,
FontResolver resolver)
Constructs a new Type 1 font loader.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultFontResolver
Default FontResolver implementation which uses the FOUserAgent to resolve font URIs.
|
Modifier and Type | Field and Description |
---|---|
protected FontResolver |
PrintRenderer.fontResolver
Font resolver
|
Modifier and Type | Method and Description |
---|---|
FontResolver |
PrintRenderer.getFontResolver()
Get FontResolver
|
Modifier and Type | Method and Description |
---|---|
static java.util.List |
PrintRendererConfigurator.buildFontListFromConfiguration(org.apache.avalon.framework.configuration.Configuration cfg,
java.lang.String fontBaseURL,
FontResolver fontResolver,
boolean strict,
FontCache fontCache)
Builds a list of EmbedFontInfo objects for use with the setup() method.
|
static EmbedFontInfo |
PrintRendererConfigurator.getFontInfoFromConfiguration(org.apache.avalon.framework.configuration.Configuration fontCfg,
FontResolver fontResolver,
boolean strict,
FontCache fontCache)
Returns a font info from a font node Configuration definition
|
Modifier and Type | Method and Description |
---|---|
static void |
FontSetup.setup(FontInfo fontInfo,
java.util.List configuredFontList,
FontResolver resolver,
java.awt.Graphics2D graphics)
Sets up the font info object.
|
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.