Method Summary |
|
public boolean | addGlyph(char uChar) Add existing glyph to this WindowsFont object. |
public void | addGlyphs(char uFirst, char uLast) |
public boolean | canDisplay(char chr) Returns true if the specified character can be displayed by this
WindowsFont. |
public int | charWidth(int ind) Returns the advance width of the specified char of this WindowsFont. |
public void | dispose() Dispose all native resources and deleting temporary font file
if this WindowsFont object was created from stream. |
public static Font | embedFont(String absolutePath) Return Font object if it was successfully embedded in the system. |
public Glyph | getDefaultGlyph() Returns default Glyph object of this WindowsFont. |
public FontExtraMetrics | getExtraMetrics() Returns initiated FontExtraMetrics instance of this WindowsFont. |
public String | getFamily(Locale l) Returns locale dependent family name of this WindowsFont. |
public String | getFontName(Locale l) Returns locale dependent face name of this WindowsFont. |
public String | getFontName() Returns face name of this WindowsFont. |
public Glyph | getGlyph(char index) Returns Glyph object for the specified character in this WindowsFont. |
public LineMetrics | getLineMetrics(String str, FontRenderContext frc, AffineTransform at) Returns a LineMetrics object that contains text metrics of this
WindowsFont. |
public int | getMissingGlyphCode() |
public String | getPSName() Returns postscript name of this WindowsFont. |
public BufferedImage | getStringImage(String str) Returns string image, that can be blitted onto a BufferedImageGraphics2D. |
public char | getUnicodeByIndex(int glyphCode) Returns unicode by index from the 'cmap' table of this font. |
public int[] | getUnicodeRanges() Returns an array of unicode ranges that are supported by this WindowsFont. |
public void | initWindowsFont() |
public boolean | isGlyphExists(char uIndex) Checks whether given Glyph belongs to any font supported unicode range. |
public void | setUnicodeRanges(int[] ranges) Initializes the array of unicode ranges that are supported by this
WindowsFont with the values from the specified array. |