Top Fields Constructors Methods
jogamp.graph.font

public Class UbuntuFontLoader

extends Object
implements FontSet
Class Inheritance
All Implemented Interfaces
com.jogamp.graph.font.FontSet
Imports
java.io.IOException, .InputStream, java.net.URLConnection, com.jogamp.common.net.Uri, com.jogamp.common.os.Platform, com.jogamp.common.util.IOUtil, .IntObjectHashMap, .JarUtil, com.jogamp.common.util.cache.TempJarCache, com.jogamp.graph.font.Font, .FontSet, .FontFactory, java.security.AccessController, .PrivilegedAction

Field Summary

Modifier and TypeField and Description
private static final String
private static boolean
pack-priv static final String[]
private static final FontSet
private static final IntObjectHashMap
private static final Uri.Encoded
private static final Uri.Encoded
private static boolean

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private synchronized Font
abspath(final String fname, final int family, final int style)

private Font
abspathImpl(final String fname, final int family, final int style)

public static final FontSet
get()

public Font
get(final int family, final int style)

Implements com.jogamp.graph.font.FontSet.get.

public Font
getDefault()

Implements com.jogamp.graph.font.FontSet.getDefault.

Returns the family FAMILY_REGULAR with STYLE_NONE as retrieved with get(int, int).
pack-priv static boolean
is(final int bits, final int bit)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

absFontPathback to summary
private static final String absFontPath
attemptedJARLoadingback to summary
private static boolean attemptedJARLoading
availableFontFileNamesback to summary
pack-priv static final String[] availableFontFileNames
fontLoaderback to summary
private static final FontSet fontLoader
fontMapback to summary
private static final IntObjectHashMap fontMap
jarNameback to summary
private static final Uri.Encoded jarName
jarSubDirback to summary
private static final Uri.Encoded jarSubDir
useTempJARCacheback to summary
private static boolean useTempJARCache

Constructor Detail

UbuntuFontLoaderback to summary
private UbuntuFontLoader()

Method Detail

abspathback to summary
private synchronized Font abspath(final String fname, final int family, final int style) throws IOException
abspathImplback to summary
private Font abspathImpl(final String fname, final int family, final int style) throws IOException
getback to summary
public static final FontSet get()
getback to summary
public Font get(final int family, final int style) throws IOException

Implements com.jogamp.graph.font.FontSet.get.

Annotations
@Override
getDefaultback to summary
public Font getDefault() throws IOException

Implements com.jogamp.graph.font.FontSet.getDefault.

Doc from com.jogamp.graph.font.FontSet.getDefault.

Returns the family FAMILY_REGULAR with STYLE_NONE as retrieved with get(int, int).

Annotations
@Override
isback to summary
pack-priv static boolean is(final int bits, final int bit)