|
fop 0.93 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fonts.Typeface
org.apache.fop.fonts.base14.HelveticaOblique
Constructor Summary | |
HelveticaOblique()
|
|
HelveticaOblique(boolean enableKerning)
|
Method Summary | |
int |
getAscender(int size)
Returns the ascent of the font described by this FontMetrics object. |
int |
getCapHeight(int size)
Returns the size of a capital letter measured from the font's baseline. |
int |
getDescender(int size)
Returns the descent of the font described by this FontMetrics object. |
java.lang.String |
getEncoding()
Get the encoding of the font. |
int |
getFirstChar()
|
java.lang.String |
getFontName()
Returns the font name. |
FontType |
getFontType()
Returns the type of the font. |
java.util.Map |
getKerningInfo()
Returns the kerning map for the font. |
int |
getLastChar()
|
int |
getWidth(int i,
int size)
Return the width (in 1/1000ths of point size) of the character at code point i. |
int[] |
getWidths()
Return the array of widths. |
int |
getXHeight(int size)
Determines the typical font height of this FontMetrics object |
boolean |
hasChar(char c)
Determines whether this font contains a particular character/glyph. |
boolean |
hasKerningInfo()
Indicates if the font has kering information. |
char |
mapChar(char c)
Map a Unicode character to a code point in the font. |
Methods inherited from class org.apache.fop.fonts.Typeface |
getMaxAscent, isMultiByte |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HelveticaOblique()
public HelveticaOblique(boolean enableKerning)
Method Detail |
public java.lang.String getEncoding()
Typeface
getEncoding
in class Typeface
public java.lang.String getFontName()
FontMetrics
public FontType getFontType()
FontMetrics
public int getAscender(int size)
FontMetrics
size
- font size
public int getCapHeight(int size)
FontMetrics
size
- font size
public int getDescender(int size)
FontMetrics
size
- font size
public int getXHeight(int size)
FontMetrics
size
- font size
public int getFirstChar()
public int getLastChar()
public int getWidth(int i, int size)
FontMetrics
i
- code point indexsize
- font size
public int[] getWidths()
FontMetrics
This is used to get an array for inserting in an output format. It should not be used for lookup.
public boolean hasKerningInfo()
FontMetrics
public java.util.Map getKerningInfo()
FontMetrics
public char mapChar(char c)
Typeface
mapChar
in class Typeface
c
- character to map
public boolean hasChar(char c)
Typeface
hasChar
in class Typeface
c
- character to check
|
fop 0.93 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |