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 EmbeddingMode |
EmbedFontInfo.embeddingMode
the requested embedding mode for this font
|
Modifier and Type | Method and Description |
---|---|
EmbeddingMode |
CustomFont.getEmbeddingMode()
Returns the embedding mode for this font.
|
EmbeddingMode |
EmbedFontInfo.getEmbeddingMode()
Returns the embedding mode for this font.
|
static EmbeddingMode |
EmbeddingMode.getValue(java.lang.String value)
Returns the embedding mode corresponding to the given name.
|
static EmbeddingMode |
EmbeddingMode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EmbeddingMode[] |
EmbeddingMode.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 |
CustomFont.setEmbeddingMode(EmbeddingMode embeddingMode)
Sets the embedding mode.
|
void |
MutableFont.setEmbeddingMode(EmbeddingMode embeddingMode)
Sets the embedding mode.
|
void |
EmbedFontInfo.setEmbeddingMode(EmbeddingMode embeddingMode)
Sets the embedding mode for this font, currently not supported for Type 1 fonts.
|
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.