org.apache.fop.render.pdf
Class Font

java.lang.Object
  extended by org.apache.fop.render.pdf.Font
All Implemented Interfaces:
FontMetric
Direct Known Subclasses:
CIDFont, Courier, CourierBold, CourierBoldOblique, CourierOblique, Helvetica, HelveticaBold, HelveticaBoldOblique, HelveticaOblique, LazyFont, SingleByteFont, Symbol, TimesBold, TimesBoldItalic, TimesItalic, TimesRoman, ZapfDingbats

public abstract class Font
extends Object
implements FontMetric

base class for PDF font classes


Constructor Summary
Font()
           
 
Method Summary
abstract  String encoding()
          get the encoding of the font
abstract  String fontName()
          get the base font name
 byte getSubType()
          get the subtype of the font, default is TYPE1
abstract  char mapChar(char c)
          map a Unicode character to a code point in the font
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.fop.layout.FontMetric
getAscender, getCapHeight, getDescender, getFirstChar, getLastChar, getWidths, getXHeight, width
 

Constructor Detail

Font

public Font()
Method Detail

encoding

public abstract String encoding()
get the encoding of the font


fontName

public abstract String fontName()
get the base font name


getSubType

public byte getSubType()
get the subtype of the font, default is TYPE1


mapChar

public abstract char mapChar(char c)
map a Unicode character to a code point in the font



Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.