charWidth(char ch) Returns the advance width of the specified char of this FontPeerImpl.
Note, if glyph is absent in the font's glyphset - returned value
is the advance of the deafualt glyph.
public int
charWidth(int ind) Returns the advance width of the specified char of this FontPeerImpl.
Returns the advance width of the specified char of this FontPeerImpl.
Note, if glyph is absent in the font's glyphset - returned value
is the advance of the deafualt glyph. For escape-chars returned
width value is 0.
Parameters: ch - the char which width is to be returned the advance width of the specified char of this FontPeerImpl
Returns the advance width of the specified char of this FontPeerImpl.
Parameters: ind - the char which width is to be returned the advance width of the specified char of this FontPeerImpl
Returns an array of Glyphs that represent characters from the specified
Unicode range.
Parameters: uFirst - start position in Unicode range Parameters: uLast - end position in Unicode range
Returns tangens of the italic angle of this FontPeerImpl.
If the FontPeerImpl has TrueType font type, italic angle value can be
calculated as (CharSlopeRun / CharSlopeRise) in terms of GDI.
Returns true, if this font peer was created from InputStream, false otherwise.
In case of creating fonts from InputStream some font peer implementations
may need to free temporary resources.
setCreatedFromStream
public void setCreatedFromStream(boolean value)(Code)
Sets createdFromStream flag to the specified parameter.
If parameter is true it means font peer was created from InputStream.
Parameters: value - true, if font peer was created from InputStream