public class DoubleByteFont extends AbstractOutlineFont
charSeteventListener, NOT_FOUND| Constructor and Description |
|---|
DoubleByteFont(java.lang.String name,
CharacterSet charSet)
Constructor for an double-byte outline font.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getWidth(int character,
int size)
Obtain the width of the character for the specified point size.
|
getAscender, getCapHeight, getCharacterSet, getCharacterSet, getDescender, getEncodingName, getFirstChar, getLastChar, getWidths, getWidths, getXHeight, hasChar, mapChargetEmbedFontName, getFamilyNames, getFontName, getFontType, getFullName, getKerningInfo, hasKerningInfo, isEmbeddable, setEmbeddable, toString, toUnicodeCodepointgetMaxAscent, hadMappingOperations, isMultiByte, notifyMapOperation, setEventListener, warnMissingGlyphpublic DoubleByteFont(java.lang.String name,
CharacterSet charSet)
name - the name of the fontcharSet - the character setpublic int getWidth(int character,
int size)
getWidth in interface FontMetricsgetWidth in class AbstractOutlineFontcharacter - the charactersize - the font size (in mpt)Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.