fop 0.93

org.apache.fop.fonts
Class EmbedFontInfo

java.lang.Object
  extended byorg.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
 

Constructor Detail

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 metrics
kerning - True if kerning should be enabled
fontTriplets - List of font triplets to associate with this font
embedFile - Path to the embeddable font file (may be null)
Method Detail

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

fop 0.93

Copyright 1999-2006 The Apache Software Foundation. All Rights Reserved.