public class FontFactory extends Object
FontConstructor
implementation.
Default FontConstructor
is jogamp.graph.font.typecast.TypecastFontConstructor
,
i.e. using our internal typecast branch.
Modifier and Type | Field and Description |
---|---|
static int |
JAVA
Java fonts are optional, 1
|
static int |
UBUNTU
Ubuntu is the default font family, 0
|
Constructor and Description |
---|
FontFactory() |
Modifier and Type | Method and Description |
---|---|
static Font |
get(Class<?> context,
String fname,
boolean useTempJarCache) |
static Font |
get(File file) |
static FontSet |
get(int font) |
static Font |
get(URLConnection conn) |
static FontSet |
getDefault() |
static boolean |
isPrintableChar(char c) |
public static final int UBUNTU
public static final int JAVA
public static final FontSet getDefault()
public static final FontSet get(int font)
public static final Font get(File file) throws IOException
IOException
public static final Font get(URLConnection conn) throws IOException
IOException
public static final Font get(Class<?> context, String fname, boolean useTempJarCache) throws IOException
IOException
public static boolean isPrintableChar(char c)
Copyright 2010 JogAmp Community.