FontConstructor implementation.
Default FontConstructor is jogamp.,
i.e. using our internal typecast branch.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final FontConstructor | |
| private static final String | |
| public static final int | JAVA
Java fonts are optional, |
| public static final int | UBUNTU
Ubuntu is the default font family, |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static final FontSet | |
| public static final Font | |
| public static final Font | Returns: the new Font instancefont stream stream, final int length of the font segment within this font stream streamLen, final boolean true to close the streamCreates a Font instance based on a determinated font stream with its given length of the font segment. |
| public static final Font | Returns: the new Font instancededicated font stream stream, final boolean true to close the streamCreates a Font instance based on an undeterminated font stream length. |
| public static final Font | |
| public static final FontSet | |
| public static boolean |
| DefaultFontConstructor | back to summary |
|---|---|
| private static final String DefaultFontConstructor | |
| fontConstr | back to summary |
|---|---|
| private static final FontConstructor fontConstr | |
| FontConstructorPropKey | back to summary |
|---|---|
| private static final String FontConstructorPropKey | |
| JAVA | back to summary |
|---|---|
| public static final int JAVA Java fonts are optional, | |
| UBUNTU | back to summary |
|---|---|
| public static final int UBUNTU Ubuntu is the default font family, | |
| FontFactory | back to summary |
|---|---|
| public FontFactory() | |
| get | back to summary |
|---|---|
| public static final FontSet get(final int font) | |
| get | back to summary |
|---|---|
| public static final Font get(final File file) throws IOException Creates a Font instance. | |
| get | back to summary |
|---|---|
| public static final Font get(final InputStream stream, final int streamLen, final boolean closeStream) throws IOException 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 | back to summary |
|---|---|
| public static final Font get(final InputStream stream, final boolean closeStream) throws IOException 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.
| |
| get | back to summary |
|---|---|
| public static final Font get(final Class<?> context, final String fname, final boolean useTempJarCache) throws IOException | |
| getDefault | back to summary |
|---|---|
| public static final FontSet getDefault() | |
| isPrintableChar | back to summary |
|---|---|
| public static boolean isPrintableChar(final char c) | |