public class FontUtilities extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
canDisplayJapanese(Font font)
Check if the given font can display Japanese characters.
|
static boolean |
canDisplayJapanese(String fontName)
Check if the font with the given name can display Japanese characters.
|
public static boolean canDisplayJapanese(String fontName)
fontName
- Name of the font to test. The PLAIN
variant will be tested.public static boolean canDisplayJapanese(Font font)
font
- The font to test.Copyright © 2001-2013 the JGloss developers. All Rights Reserved.