org.apache.fop.fonts
Class EmbedFontInfo
java.lang.Object
|
+--org.apache.fop.fonts.EmbedFontInfo
- public class EmbedFontInfo
- extends java.lang.Object
FontInfo contains meta information on fonts (where is the metrics file etc.)
Constructor Summary |
EmbedFontInfo(java.lang.String metricsFile,
boolean kerning,
java.util.List fontTriplets,
java.lang.String embedFile)
Main constructor |
Method Summary |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmbedFontInfo
public EmbedFontInfo(java.lang.String metricsFile,
boolean kerning,
java.util.List fontTriplets,
java.lang.String embedFile)
- Main constructor
- Parameters:
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)
getMetricsFile
public java.lang.String getMetricsFile()
- Returns the path to the metrics file
- Returns:
- the metrics file path
getEmbedFile
public java.lang.String getEmbedFile()
- Returns the path to the embeddable font file
- Returns:
- the font file path
getKerning
public boolean getKerning()
- Determines if kerning is enabled
- Returns:
- True if enabled
getFontTriplets
public java.util.List getFontTriplets()
- Returns the list of font triplets associated with this font.
- Returns:
- List of font triplets
Copyright 1999-2006 The Apache Software Foundation. All Rights Reserved.