de.intarsys.cwt.freetype
Class Face
java.lang.Object
de.intarsys.cwt.freetype.Face
public class Face
- extends java.lang.Object
Constructor Summary |
protected |
Face(_FTNI pFtni,
FTFace pFace,
de.intarsys.nativec.type.NativeBuffer pFontData)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Face
protected Face(_FTNI pFtni,
FTFace pFace,
de.intarsys.nativec.type.NativeBuffer pFontData)
clearCache
public void clearCache()
doneFace
public void doneFace()
getAscender
public int getAscender()
getBBox
public java.awt.geom.Rectangle2D getBBox()
getCharIndex
public int getCharIndex(int code)
getCharMap
public CharMap getCharMap()
getCharMap
public CharMap getCharMap(int index)
getDescender
public int getDescender()
getFace
public FTFace getFace()
getFamilyName
public java.lang.String getFamilyName()
getFirstChar
public int getFirstChar()
getFontData
public de.intarsys.nativec.type.NativeBuffer getFontData()
getGlyphSlot
public GlyphSlot getGlyphSlot()
getHeight
public int getHeight()
getNameIndex
public int getNameIndex(java.lang.String name)
getNumCharMaps
public int getNumCharMaps()
getPostscriptName
public java.lang.String getPostscriptName()
getSfntName
public SfntName getSfntName(int index)
getSfntNameCount
public int getSfntNameCount()
getStyleName
public java.lang.String getStyleName()
getUnderlinePosition
public int getUnderlinePosition()
getUnderlineThickness
public int getUnderlineThickness()
getUnitsPerEM
public int getUnitsPerEM()
loadChar
public void loadChar(int code,
int flags)
throws FreetypeException
- Throws:
FreetypeException
loadGlyph
public void loadGlyph(int index,
int flags)
throws FreetypeException
- Throws:
FreetypeException
selectCharMap
public void selectCharMap(FTEnum id)
throws FreetypeException
- Throws:
FreetypeException
setCharMap
public void setCharMap(CharMap charMap)
setCharSize
public void setCharSize(int width,
int height,
int hRes,
int vRes)