1package com.jogamp.opengl.test.junit.graph;
3import java.io.IOException;
5import com.jogamp.common.util.IOUtil;
6import com.jogamp.graph.font.Font;
7import com.jogamp.graph.font.FontFactory;
8import com.jogamp.graph.font.FontSet;
17 fonts[i++] =
FontFactory.
get(IOUtil.getResource(
"fonts/freefont/FreeMono.ttf",
19 fonts[i++] =
FontFactory.
get(IOUtil.getResource(
"fonts/freefont/FreeSans.ttf",
21 fonts[i++] =
FontFactory.
get(IOUtil.getResource(
"fonts/freefont/FreeSerif.ttf",
23 fonts[i++] =
FontFactory.
get(IOUtil.getResource(
"fonts/freefont/FreeSerifItalic.ttf",
33 fonts[i++] =
FontFactory.
get(IOUtil.getResource(
"fonts/freefont/FreeMono.ttf",
35 fonts[i++] =
FontFactory.
get(IOUtil.getResource(
"fonts/freefont/FreeMonoBold.ttf",
37 fonts[i++] =
FontFactory.
get(IOUtil.getResource(
"fonts/freefont/FreeSans.ttf",
39 fonts[i++] =
FontFactory.
get(IOUtil.getResource(
"fonts/freefont/FreeSansBold.ttf",
41 fonts[i++] =
FontFactory.
get(IOUtil.getResource(
"fonts/freefont/FreeSerif.ttf",
43 fonts[i++] =
FontFactory.
get(IOUtil.getResource(
"fonts/freefont/FreeSerifBold.ttf",
45 fonts[i++] =
FontFactory.
get(IOUtil.getResource(
"fonts/freefont/FreeSerifBoldItalic.ttf",
47 fonts[i++] =
FontFactory.
get(IOUtil.getResource(
"fonts/freefont/FreeSerifItalic.ttf",
The optional property jogamp.graph.font.ctor allows user to specify the FontConstructor implementatio...
static final FontSet get(final int font)
static final int UBUNTU
Ubuntu is the default font family, {@value}.
static final int STYLE_ITALIC
ITALIC style bit flag, {@value}.
static final int FAMILY_LIGHT
Font family LIGHT, {@value}.
Font getDefault()
Returns the family FAMILY_REGULAR with STYLE_NONE as retrieved with get(int, int).
Font get(int family, int stylebits)
static final int STYLE_NONE
Zero style, {@value}.
Interface wrapper for font implementation.