The optional property jogamp.graph.font.ctor allows user to specify the FontConstructor implementation.
More...
|
| static final int | UBUNTU = 0 |
| | Ubuntu is the default font family, {@value}. More...
|
| |
| static final int | SYMBOLS = 10 |
| | Symbols is the default symbol font family and contains rounded material symbol fonts, {@value}. More...
|
| |
The optional property jogamp.graph.font.ctor allows user to specify the FontConstructor implementation.
Default FontConstructor is jogamp.graph.font.typecast.TypecastFontConstructor, i.e. using our internal typecast branch.
Definition at line 56 of file FontFactory.java.
◆ get() [1/5]
| static final Font com.jogamp.graph.font.FontFactory.get |
( |
final Class<?> |
context, |
|
|
final String |
fname, |
|
|
final boolean |
useTempJarCache |
|
) |
| throws IOException |
|
static |
◆ get() [2/5]
| static final Font com.jogamp.graph.font.FontFactory.get |
( |
final File |
file | ) |
throws IOException |
|
static |
◆ get() [3/5]
| static final Font com.jogamp.graph.font.FontFactory.get |
( |
final InputStream |
stream, |
|
|
final boolean |
closeStream |
|
) |
| throws IOException |
|
static |
Creates a Font instance based on an undeterminated font stream length.
The font stream is temporarily copied into a temp file to gather it's size and to gain random access. The temporary file will be deleted at exit.
- Parameters
-
| stream | dedicated font stream |
| closeStream | true to close the stream |
- Returns
- the new Font instance
- Exceptions
-
Definition at line 139 of file FontFactory.java.
◆ get() [4/5]
| static final Font com.jogamp.graph.font.FontFactory.get |
( |
final InputStream |
stream, |
|
|
final int |
streamLen, |
|
|
final boolean |
closeStream |
|
) |
| throws IOException |
|
static |
Creates a Font instance based on a determinated font stream with its given length of the font segment.
No explicit stream copy is performed as in get(InputStream, boolean) due to the known streamLen.
- Parameters
-
| stream | font stream |
| streamLen | length of the font segment within this font stream |
| closeStream | true to close the stream |
- Returns
- the new Font instance
- Exceptions
-
Definition at line 117 of file FontFactory.java.
◆ get() [5/5]
| static final FontSet com.jogamp.graph.font.FontFactory.get |
( |
final int |
font | ) |
|
|
static |
◆ getDefault()
| static final FontSet com.jogamp.graph.font.FontFactory.getDefault |
( |
| ) |
|
|
static |
◆ getDefaultFont()
| static Font com.jogamp.graph.font.FontFactory.getDefaultFont |
( |
| ) |
|
|
static |
◆ getFallbackFont()
| static synchronized Font com.jogamp.graph.font.FontFactory.getFallbackFont |
( |
| ) |
|
|
static |
◆ getSymbolsFont()
| static Font com.jogamp.graph.font.FontFactory.getSymbolsFont |
( |
| ) |
|
|
static |
◆ isPrintableChar()
| static boolean com.jogamp.graph.font.FontFactory.isPrintableChar |
( |
final char |
c | ) |
|
|
static |
◆ setFallbackFont()
| static synchronized void com.jogamp.graph.font.FontFactory.setFallbackFont |
( |
final Font |
f | ) |
|
|
static |
◆ SYMBOLS
| final int com.jogamp.graph.font.FontFactory.SYMBOLS = 10 |
|
static |
Symbols is the default symbol font family and contains rounded material symbol fonts, {@value}.
Definition at line 64 of file FontFactory.java.
◆ UBUNTU
| final int com.jogamp.graph.font.FontFactory.UBUNTU = 0 |
|
static |
Ubuntu is the default font family, {@value}.
Definition at line 61 of file FontFactory.java.
The documentation for this class was generated from the following file: