public class FontDetector extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ARABIC |
static int |
CHINESE |
static int |
NUM_LANGUAGES |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasFont(String fontName) |
static void |
main(String[] args) |
static List<Font> |
supportedFonts(int language)
Returns which Fonts on the system can display the sample string.
|
public static final int NUM_LANGUAGES
public static final int CHINESE
public static final int ARABIC
public static List<Font> supportedFonts(int language)
language - the numerical code for the language to checkpublic static boolean hasFont(String fontName)
public static void main(String[] args)