public final class Fonts
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.awt.Font |
deriveFont(java.awt.Font originalFont, int style, float size)
This method works around bugs in Java 1.5's implementation of Font.deriveFont() that prevent it from copying composite font information, which can result in broken glyphs in certain multibyte environments.
|
static sun.font.Font2DHandle |
getNewComposite(java.lang.String family, int style, sun.font.Font2DHandle handle) |
public static java.awt.Font deriveFont(java.awt.Font originalFont, int style, float size)
In Java 1.6, this method calls Font.deriveFont().
originalFont
-style
-size
-public static sun.font.Font2DHandle getNewComposite(java.lang.String family, int style, sun.font.Font2DHandle handle)