Package | Description |
---|---|
org.apache.fop.fonts |
Classes for font handling.
|
org.apache.fop.fonts.truetype |
Classes for TrueType fonts.
|
Modifier and Type | Field and Description |
---|---|
protected EncodingMode |
EmbedFontInfo.encodingMode
the requested encoding mode for the font
|
Modifier and Type | Method and Description |
---|---|
EncodingMode |
EmbedFontInfo.getEncodingMode()
Returns the requested encoding mode for this font.
|
static EncodingMode |
EncodingMode.getValue(java.lang.String name)
Returns the
EncodingMode by name. |
static EncodingMode |
EncodingMode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EncodingMode[] |
EncodingMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static CustomFont |
FontLoader.loadFont(java.io.File fontFile,
java.lang.String subFontName,
boolean embedded,
EmbeddingMode embeddingMode,
EncodingMode encodingMode,
FontResolver resolver)
Loads a custom font from a File.
|
static CustomFont |
FontLoader.loadFont(java.lang.String fontFileURI,
java.lang.String subFontName,
boolean embedded,
EmbeddingMode embeddingMode,
EncodingMode encodingMode,
boolean useKerning,
boolean useAdvanced,
FontResolver resolver)
Loads a custom font from a URI.
|
static CustomFont |
FontLoader.loadFont(java.net.URL fontUrl,
java.lang.String subFontName,
boolean embedded,
EmbeddingMode embeddingMode,
EncodingMode encodingMode,
FontResolver resolver)
Loads a custom font from an URL.
|
void |
EmbedFontInfo.setEncodingMode(EncodingMode mode)
Sets the requested encoding mode for this font.
|
Constructor and Description |
---|
TTFFontLoader(java.lang.String fontFileURI,
java.lang.String subFontName,
boolean embedded,
EmbeddingMode embeddingMode,
EncodingMode encodingMode,
boolean useKerning,
boolean useAdvanced,
FontResolver resolver)
Additional constructor for TrueType Collections.
|
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.