|
fop 0.91beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.fop.fonts.Typeface | +--org.apache.fop.fonts.base14.HelveticaOblique
Constructor Summary | |
HelveticaOblique()
|
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 |
isMultiByte |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HelveticaOblique()
Method Detail |
public java.lang.String getEncoding()
Typeface
getEncoding
in class Typeface
org.apache.fop.fonts.Typeface
public java.lang.String getFontName()
FontMetrics
org.apache.fop.fonts.FontMetrics
public FontType getFontType()
FontMetrics
org.apache.fop.fonts.FontMetrics
public int getAscender(int size)
FontMetrics
org.apache.fop.fonts.FontMetrics
size
- font sizepublic int getCapHeight(int size)
FontMetrics
org.apache.fop.fonts.FontMetrics
size
- font sizepublic int getDescender(int size)
FontMetrics
org.apache.fop.fonts.FontMetrics
size
- font sizepublic int getXHeight(int size)
FontMetrics
org.apache.fop.fonts.FontMetrics
size
- font sizepublic int getFirstChar()
public int getLastChar()
public int getWidth(int i, int size)
FontMetrics
org.apache.fop.fonts.FontMetrics
i
- code point indexsize
- font sizepublic int[] getWidths()
FontMetrics
This is used to get an array for inserting in an output format. It should not be used for lookup.
org.apache.fop.fonts.FontMetrics
public boolean hasKerningInfo()
FontMetrics
org.apache.fop.fonts.FontMetrics
public java.util.Map getKerningInfo()
FontMetrics
org.apache.fop.fonts.FontMetrics
public char mapChar(char c)
Typeface
mapChar
in class Typeface
org.apache.fop.fonts.Typeface
c
- character to mappublic boolean hasChar(char c)
Typeface
hasChar
in class Typeface
org.apache.fop.fonts.Typeface
c
- character to check
|
fop 0.91beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |