org.apache.fop.fonts
Class EmbedFontInfo
java.lang.Object
org.apache.fop.fonts.EmbedFontInfo
- Serializable
public class EmbedFontInfo
extends java.lang.Object
implements Serializable
FontInfo contains meta information on fonts (where is the metrics file etc.)
protected String | embedFile - filename of the main font file
|
protected List | fontTriplets - the list of associated font triplets
|
protected boolean | kerning - false, to disable kerning
|
protected String | metricsFile - filename of the metrics file
|
EmbedFontInfo(String metricsFile, boolean kerning, List fontTriplets, String embedFile) - Main constructor
|
embedFile
protected String embedFile
filename of the main font file
fontTriplets
protected List fontTriplets
the list of associated font triplets
kerning
protected boolean kerning
false, to disable kerning
metricsFile
protected String metricsFile
filename of the metrics file
EmbedFontInfo
public EmbedFontInfo(String metricsFile,
boolean kerning,
List fontTriplets,
String embedFile)
Main constructor
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)
getEmbedFile
public String getEmbedFile()
Returns the path to the embeddable font file
getFontTriplets
public List getFontTriplets()
Returns the list of font triplets associated with this font.
getKerning
public boolean getKerning()
Determines if kerning is enabled
getMetricsFile
public String getMetricsFile()
Returns the path to the metrics file
toString
public String toString()
java.lang.Object.toString()
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.