Package de.intarsys.cwt.freetype
Class Face
java.lang.Object
de.intarsys.cwt.freetype.Face
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddoneFace()intgetBBox()intgetCharIndex(int code) getCharMap(int index) intgetFace()intde.intarsys.nativec.type.NativeBufferintintgetNameIndex(String name) intgetSfntName(int index) intintintintvoidloadChar(int code, int flags) voidloadGlyph(int index, int flags) voidselectCharMap(FTEnum id) voidsetCharMap(CharMap charMap) voidsetCharSize(int width, int height, int hRes, int vRes)
-
Constructor Details
-
Face
-
-
Method Details
-
clearCache
public void clearCache() -
doneFace
public void doneFace() -
getAscender
public int getAscender() -
getBBox
-
getCharIndex
public int getCharIndex(int code) -
getCharMap
-
getCharMap
-
getDescender
public int getDescender() -
getFace
-
getFamilyName
-
getFirstChar
public int getFirstChar() -
getFontData
public de.intarsys.nativec.type.NativeBuffer getFontData() -
getGlyphSlot
-
getHeight
public int getHeight() -
getNameIndex
-
getNumCharMaps
public int getNumCharMaps() -
getPostscriptName
-
getSfntName
-
getSfntNameCount
public int getSfntNameCount() -
getStyleName
-
getUnderlinePosition
public int getUnderlinePosition() -
getUnderlineThickness
public int getUnderlineThickness() -
getUnitsPerEM
public int getUnitsPerEM() -
loadChar
- Throws:
FreetypeException
-
loadGlyph
- Throws:
FreetypeException
-
selectCharMap
- Throws:
FreetypeException
-
setCharMap
-
setCharSize
public void setCharSize(int width, int height, int hRes, int vRes)
-