org.apache.fop.layout
Interface FontMetric

All Known Implementing Classes:
FontMetricsMapper, Font

public interface FontMetric

interface for font metric classes


Method Summary
 intgetAscender(int size)
           
 intgetCapHeight(int size)
           
 intgetDescender(int size)
           
 intgetFirstChar()
           
 intgetLastChar()
           
 int[]getWidths(int size)
           
 intgetXHeight(int size)
           
 intwidth(int i, int size)
          return width (in 1/1000ths of point size) of character at code point i

Method Detail

getAscender

public int getAscender(int size)

getCapHeight

public int getCapHeight(int size)

getDescender

public int getDescender(int size)

getFirstChar

public int getFirstChar()

getLastChar

public int getLastChar()

getWidths

public int[] getWidths(int size)

getXHeight

public int getXHeight(int size)

width

public int width(int i, int size)
return width (in 1/1000ths of point size) of character at code point i