org.apache.fop.fonts
Interface FontDescriptor
- FontMetrics
- CIDFont, CustomFont, LazyFont, MultiByteFont, SingleByteFont
public interface FontDescriptor
This interface enhances the font metrics interface with access methods to
value needed to register fonts in various target formats like PDF or
PostScript.
int | getAscender() - Returns the ascender value of the font.
|
int | getCapHeight() - Returns the capital height of the font.
|
int | getDescender() - Returns the descender value of the font.
|
int | getFlags() - Returns the flags for the font.
|
int[] | getFontBBox() - Returns the font's bounding box.
|
int | getItalicAngle() - Returns the italic angle for the font.
|
int | getStemV() - Returns the vertical stem width for the font.
|
boolean | isEmbeddable() - Indicates if this font may be embedded.
|
getAscender , getCapHeight , getDescender , getFontName , getFontType , getKerningInfo , getMaxAscent , getWidth , getWidths , getXHeight , hasKerningInfo |
getAscender
public int getAscender()
Returns the ascender value of the font. (Ascent in pdf spec)
getCapHeight
public int getCapHeight()
Returns the capital height of the font.
getDescender
public int getDescender()
Returns the descender value of the font. (Descent in pdf spec)
getFlags
public int getFlags()
Returns the flags for the font. (See pdf spec)
getFontBBox
public int[] getFontBBox()
Returns the font's bounding box.
getItalicAngle
public int getItalicAngle()
Returns the italic angle for the font.
getStemV
public int getStemV()
Returns the vertical stem width for the font.
isEmbeddable
public boolean isEmbeddable()
Indicates if this font may be embedded.
- True, if embedding is possible/permitted
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.