Class XMLFontMetricsReader

java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.fop.fonts.XMLFontMetricsReader
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

@Deprecated public class XMLFontMetricsReader extends DefaultHandler
Deprecated.

Class for reading a metric.xml file and creating a font object. Typical usage:

 XMLFontMetricsReader reader = new XMLFontMetricsReader(<path til metrics.xml>);
 reader.setFontEmbedPath(<path to a .ttf or .pfb file or null to diable embedding>);
 reader.useKerning(true);
 Font f = reader.getFont();
 

N.B. This is deprecated functionality and is expected to be removed from a future version of FOP. New applications using FOP should not make direct or implied use of this mechanism.