de.dante.extex.font.type.svg
Class SVGReader

java.lang.Object
  extended byde.dante.extex.font.type.svg.SVGReader
All Implemented Interfaces:
FontMetric

public class SVGReader
extends java.lang.Object
implements FontMetric

This class read a SVG-file.

Version:
$Revision: 1.2 $
Author:
Michael Niedermair

Constructor Summary
SVGReader(java.io.InputStream svgin, java.lang.String aefmname, java.lang.String adefaultsize)
          init
 
Method Summary
 org.jdom.Element getFontMetric()
          Return the FontMetrix-Element for this font.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGReader

public SVGReader(java.io.InputStream svgin,
                 java.lang.String aefmname,
                 java.lang.String adefaultsize)
          throws java.io.IOException,
                 org.jdom.JDOMException
init

Parameters:
svgin - Stream for Reading the afm-file
aefmname - the name of the efmfile
adefaultsize - the defaultsize of the font
Throws:
java.io.IOException - ...
org.jdom.JDOMException - ...
Method Detail

getFontMetric

public org.jdom.Element getFontMetric()
Description copied from interface: FontMetric
Return the FontMetrix-Element for this font.

Specified by:
getFontMetric in interface FontMetric
Returns:
the fontmetrix as XML-Element
See Also:
de.dante.util.font.type.FontMetric#getFontMetric()