org.apache.fop.layout
Interface FontMetric
- All Known Implementing Classes:
- CIDFont, Courier, Courier, CourierBold, CourierBold, CourierBoldOblique, CourierBoldOblique, CourierOblique, CourierOblique, Font, Font, FontMetricsMapper, Helvetica, Helvetica, HelveticaBold, HelveticaBold, HelveticaBoldOblique, HelveticaBoldOblique, HelveticaOblique, HelveticaOblique, LazyFont, MultiByteFont, SingleByteFont, Symbol, Symbol, TimesBold, TimesBold, TimesBoldItalic, TimesBoldItalic, TimesItalic, TimesItalic, TimesRoman, TimesRoman, ZapfDingbats, ZapfDingbats
public interface FontMetric
interface for font metric classes
getAscender
int getAscender(int size)
getCapHeight
int getCapHeight(int size)
getDescender
int getDescender(int size)
getXHeight
int getXHeight(int size)
getFirstChar
int getFirstChar()
getLastChar
int getLastChar()
width
int width(int i,
int size)
- return width (in 1/1000ths of point size) of character at
code point i
getWidths
int[] getWidths(int size)
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.