| java.lang.Object sun.awt.PlatformFont
PlatformFont | abstract public class PlatformFont implements FontPeer(Code) | | |
Inner Class :class PlatformFontCache | |
Method Summary | |
final protected Object[] | getFontCache() | abstract protected char | getMissingGlyphCharacter() Returns the character that should be rendered when a glyph
is missing. | public Object[] | makeConvertedMultiFontChars(char[] data, int start, int len) | public Object[] | makeConvertedMultiFontString(String str) Specialized fast path string conversion for AWT. | public CharsetString[] | makeMultiCharsetString(String str) make a array of CharsetString with given String. | public CharsetString[] | makeMultiCharsetString(String str, boolean allowdefault) make a array of CharsetString with given String. | public CharsetString[] | makeMultiCharsetString(char str, int offset, int len) make a array of CharsetString with given char array. | public CharsetString[] | makeMultiCharsetString(char str, int offset, int len, boolean allowDefault) make a array of CharsetString with given char array.
Parameters: str - The char array to convert. Parameters: offset - offset of first character of interest Parameters: len - number of characters to convert Parameters: allowDefault - whether to allow the default char.Setting this to true overloads the meaning of this method toreturn non-null only if all chars can be converted. | public boolean | mightHaveMultiFontMetrics() Is it possible that this font's metrics require the multi-font calls?
This might be true, for example, if the font supports kerning. |
FONTCACHEMASK | protected static int FONTCACHEMASK(Code) | | |
FONTCACHESIZE | protected static int FONTCACHESIZE(Code) | | |
defaultChar | protected char defaultChar(Code) | | |
PlatformFont | public PlatformFont(String name, int style)(Code) | | |
getMissingGlyphCharacter | abstract protected char getMissingGlyphCharacter()(Code) | | Returns the character that should be rendered when a glyph
is missing.
|
makeConvertedMultiFontChars | public Object[] makeConvertedMultiFontChars(char[] data, int start, int len)(Code) | | |
makeConvertedMultiFontString | public Object[] makeConvertedMultiFontString(String str)(Code) | | Specialized fast path string conversion for AWT.
|
makeMultiCharsetString | public CharsetString[] makeMultiCharsetString(String str)(Code) | | make a array of CharsetString with given String.
|
makeMultiCharsetString | public CharsetString[] makeMultiCharsetString(String str, boolean allowdefault)(Code) | | make a array of CharsetString with given String.
|
makeMultiCharsetString | public CharsetString[] makeMultiCharsetString(char str, int offset, int len)(Code) | | make a array of CharsetString with given char array.
Parameters: str - The char array to convert. Parameters: offset - offset of first character of interest Parameters: len - number of characters to convert |
makeMultiCharsetString | public CharsetString[] makeMultiCharsetString(char str, int offset, int len, boolean allowDefault)(Code) | | make a array of CharsetString with given char array.
Parameters: str - The char array to convert. Parameters: offset - offset of first character of interest Parameters: len - number of characters to convert Parameters: allowDefault - whether to allow the default char.Setting this to true overloads the meaning of this method toreturn non-null only if all chars can be converted. array of CharsetString or if allowDefault is false and anyof the returned chars would have been converted to a default char,then return null.This is used to choose alternative means of displaying the text. |
mightHaveMultiFontMetrics | public boolean mightHaveMultiFontMetrics()(Code) | | Is it possible that this font's metrics require the multi-font calls?
This might be true, for example, if the font supports kerning.
|
|
|