public class EmbedFontInfo
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
embedFile
filename of the main font file
|
protected java.util.List |
fontTriplets
the list of associated font triplets
|
protected boolean |
kerning
false, to disable kerning
|
protected java.lang.String |
metricsFile
filename of the metrics file
|
Constructor and Description |
---|
EmbedFontInfo(java.lang.String metricsFile,
boolean kerning,
java.util.List fontTriplets,
java.lang.String embedFile)
Main constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEmbedFile()
Returns the path to the embeddable font file
|
java.util.List |
getFontTriplets()
Returns the list of font triplets associated with this font.
|
boolean |
getKerning()
Determines if kerning is enabled
|
java.lang.String |
getMetricsFile()
Returns the path to the metrics file
|
java.lang.String |
toString() |
protected java.lang.String metricsFile
protected java.lang.String embedFile
protected boolean kerning
protected java.util.List fontTriplets
public EmbedFontInfo(java.lang.String metricsFile, boolean kerning, java.util.List fontTriplets, java.lang.String embedFile)
metricsFile
- Path to the xml file containing font metricskerning
- True if kerning should be enabledfontTriplets
- List of font triplets to associate with this fontembedFile
- Path to the embeddable font file (may be null)public java.lang.String getMetricsFile()
public java.lang.String getEmbedFile()
public boolean getKerning()
public java.util.List getFontTriplets()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.