| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static ArrayList | |
| private static ArrayList | |
| public static final int | |
| pack-priv HashMap | |
| private static final String | |
| public static final boolean | |
| private static final String | |
| private HashMap | |
| private HashMap | |
| private static Thread | |
| private HashMap | |
| private HashMap | |
| pack-priv HashMap | |
| private static float | |
| private HashMap | |
| private volatile HashMap | |
| private static final String | |
| public static final boolean | |
| public static final boolean | |
| public static final boolean | |
| public static final boolean | |
| public static final boolean | |
| public static final boolean | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static String | |
| private static float | |
| private static boolean | |
| private static String | |
| private int | |
| private static final String[] | |
| public static final int | |
| public static final int | |
| public static final int | |
| private static int | |
| private static String | |
| private static String | |
| private static float | |
| private static PrismFontFactory | |
| private ArrayList | |
| private static String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv synchronized void | |
| private synchronized void | |
| private synchronized void | |
| pack-priv void | |
| public synchronized PGFont | createFont(String familyName, boolean bold, boolean italic, float size)
Implements com.
|
| public synchronized PGFont | |
| protected abstract PrismFontFile | createFontFile(String name, String filename, int fIndex, boolean register, boolean embedded, boolean copy)
|
| private PrismFontFile | |
| private PrismFontFile | createFontResource(String name, String filename, int index, boolean register, boolean embedded, boolean copy)
|
| private PrismFontFile | |
| private PrismFontFile[] | createFontResources(String name, String filename, boolean register, boolean embedded, boolean copy, boolean loadAll)
|
| public abstract GlyphLayout | |
| public synchronized PGFont | deriveFont(PGFont font, boolean bold, boolean italic, float size)
Implements com. Creates a new Font object by replicating the current Font object and applying a new bold style, italic style, and size to it. |
| private String | |
| private String | |
| public int | |
| pack-priv FontResource | |
| public abstract FontFallbackInfo | |
| public static synchronized PrismFontFactory | |
| private static synchronized PrismFontFactory | |
| public String[] | |
| public String[] | |
| public String[] | |
| private static native String | |
| public synchronized FontResource | |
| private PrismFontFile | |
| public synchronized FontResource | |
| private synchronized FontResource | |
| private synchronized FontResource | |
| public static float | |
| private synchronized HashMap | |
| private static String | |
| public static float | |
| pack-priv static native int | |
| private static String | |
| protected static String | |
| private static void | |
| public final int | |
| public static String | |
| private static native String | |
| public static float | |
| private static native float | |
| pack-priv static native short | |
| public boolean | |
| public static boolean | |
| public boolean | |
| public boolean | |
| public PGFont[] | loadEmbeddedFont(String name, InputStream fontStream, float size, boolean register, boolean loadAll)
Implements com. Loads a font from the specified input stream. |
| public PGFont[] | Returns: font name extracted from font filefont name name, String Path name to system file path, float font size size, boolean whether the font should be registered. register, boolean whether to load all fonts if it is a TTC loadAll)Implements com. registerEmbeddedFont(String name, String path) is a small subset of registerEmbeddedFont(String name, InputStream fontStream) It does not attempt to create a temporary file and has different parameters. |
| private synchronized PrismFontFile[] | |
| private void | |
| private FontResource | |
| pack-priv static native void | |
| pack-priv void | |
| protected boolean | |
| private void | |
| pack-priv synchronized void | |
| private void | |
| private void | |
| protected void | |
| public int |
| allFamilyNames | back to summary |
|---|---|
| private static ArrayList<String> allFamilyNames | |
| allFontNames | back to summary |
|---|---|
| private static ArrayList<String> allFontNames | |
| cacheLayoutSize | back to summary |
|---|---|
| public static final int cacheLayoutSize | |
| compResourceMap | back to summary |
|---|---|
| pack-priv HashMap<String, CompositeFontResource> compResourceMap | |
| CT_FACTORY | back to summary |
|---|---|
| private static final String CT_FACTORY | |
| debugFonts | back to summary |
|---|---|
| public static final boolean debugFonts | |
| DW_FACTORY | back to summary |
|---|---|
| private static final String DW_FACTORY | |
| embeddedFonts | back to summary |
|---|---|
| private HashMap<String, PrismFontFile> embeddedFonts | |
| familyToFontListMap | back to summary |
|---|---|
| private HashMap<String, ArrayList<String>> familyToFontListMap | |
| fileCloser | back to summary |
|---|---|
| private static Thread fileCloser | |
| fileNameToFontResourceMap | back to summary |
|---|---|
| private HashMap<String, PrismFontFile> fileNameToFontResourceMap | |
| fileToFontMap | back to summary |
|---|---|
| private HashMap<String, String> fileToFontMap | |
| fontResourceMap | back to summary |
|---|---|
| pack-priv HashMap<String, FontResource> fontResourceMap | |
| fontSizeLimit | back to summary |
|---|---|
| private static float fontSizeLimit | |
| fontToFamilyNameMap | back to summary |
|---|---|
| private HashMap<String, String> fontToFamilyNameMap | |
| fontToFileMap | back to summary |
|---|---|
| private volatile HashMap<String, String> fontToFileMap | |
| FT_FACTORY | back to summary |
|---|---|
| private static final String FT_FACTORY | |
| isAndroid | back to summary |
|---|---|
| public static final boolean isAndroid | |
| isEmbedded | back to summary |
|---|---|
| public static final boolean isEmbedded | |
| isIOS | back to summary |
|---|---|
| public static final boolean isIOS | |
| isLinux | back to summary |
|---|---|
| public static final boolean isLinux | |
| isMacOSX | back to summary |
|---|---|
| public static final boolean isMacOSX | |
| isWindows | back to summary |
|---|---|
| public static final boolean isWindows | |
| jreDefaultFont | back to summary |
|---|---|
| private static final String jreDefaultFont | |
| jreDefaultFontFile | back to summary |
|---|---|
| private static final String jreDefaultFontFile | |
| jreDefaultFontLC | back to summary |
|---|---|
| private static final String jreDefaultFontLC | |
| jreFontDir | back to summary |
|---|---|
| private static String jreFontDir | |
| lcdContrast | back to summary |
|---|---|
| private static float lcdContrast | |
| lcdEnabled | back to summary |
|---|---|
| private static boolean lcdEnabled | |
| monospaceFontFamily | back to summary |
|---|---|
| private static String monospaceFontFamily | |
| numEmbeddedFonts | back to summary |
|---|---|
| private int numEmbeddedFonts | |
| STR_ARRAY | back to summary |
|---|---|
| private static final String[] STR_ARRAY | |
| SUB_PIXEL_NATIVE | back to summary |
|---|---|
| public static final int SUB_PIXEL_NATIVE | |
| SUB_PIXEL_ON | back to summary |
|---|---|
| public static final int SUB_PIXEL_ON | |
| SUB_PIXEL_Y | back to summary |
|---|---|
| public static final int SUB_PIXEL_Y | |
| subPixelMode | back to summary |
|---|---|
| private static int subPixelMode | |
| sysFontDir | back to summary |
|---|---|
| private static String sysFontDir | |
| systemFontFamily | back to summary |
|---|---|
| private static String systemFontFamily | |
| systemFontSize | back to summary |
|---|---|
| private static float systemFontSize | |
| theFontFactory | back to summary |
|---|---|
| private static PrismFontFactory theFontFactory | |
| tmpFonts | back to summary |
|---|---|
| private ArrayList<WeakReference<PrismFontFile>> tmpFonts | |
| userFontDir | back to summary |
|---|---|
| private static String userFontDir | |
| PrismFontFactory | back to summary |
|---|---|
| public PrismFontFactory() | |
| addDecodedFont | back to summary |
|---|---|
| pack-priv synchronized void addDecodedFont(PrismFontFile fr) | |
| addFileCloserHook | back to summary |
|---|---|
| private synchronized void addFileCloserHook() | |
| addTmpFont | back to summary |
|---|---|
| private synchronized void addTmpFont(PrismFontFile fr) | |
| addToMaps | back to summary |
|---|---|
| pack-priv void addToMaps(PrismFontFile fr) | |
| createFont | back to summary |
|---|---|
| public synchronized PGFont createFont(String familyName, boolean bold, boolean italic, float size) Implements com.
| |
| createFont | back to summary |
|---|---|
| public synchronized PGFont createFont(String name, float size) Implements com.
| |
| createFontFile | back to summary |
|---|---|
| protected abstract PrismFontFile createFontFile(String name, String filename, int fIndex, boolean register, boolean embedded, boolean copy) throws Exception | |
| createFontResource | back to summary |
|---|---|
| private PrismFontFile createFontResource(String filename, int index) | |
| createFontResource | back to summary |
|---|---|
| private PrismFontFile createFontResource(String name, String filename, int index, boolean register, boolean embedded, boolean copy) | |
| createFontResource | back to summary |
|---|---|
| private PrismFontFile createFontResource(String name, String filename) | |
| createFontResources | back to summary |
|---|---|
| private PrismFontFile[] createFontResources(String name, String filename, boolean register, boolean embedded, boolean copy, boolean loadAll) | |
| createGlyphLayout | back to summary |
|---|---|
| public abstract GlyphLayout createGlyphLayout() | |
| deriveFont | back to summary |
|---|---|
| public synchronized PGFont deriveFont(PGFont font, boolean bold, boolean italic, float size) Implements com. Doc from com. Creates a new Font object by replicating the current Font object and applying a new bold style, italic style, and size to it. Note bold and italic are hints.
| |
| dotStyleStr | back to summary |
|---|---|
| private String dotStyleStr(boolean bold, boolean italic) | |
| findFile | back to summary |
|---|---|
| private String findFile(String name) | |
| findFontIndex | back to summary |
|---|---|
| public int findFontIndex(String targetName, String filename) | |
| getDefaultFontResource | back to summary |
|---|---|
| pack-priv FontResource getDefaultFontResource(boolean wantComp) | |
| getFallbacks | back to summary |
|---|---|
| public abstract FontFallbackInfo getFallbacks(FontResource primaryResource) | |
| getFontFactory | back to summary |
|---|---|
| public static synchronized PrismFontFactory getFontFactory() | |
| getFontFactory | back to summary |
|---|---|
| private static synchronized PrismFontFactory getFontFactory(String factoryClass) | |
| getFontFamilyNames | back to summary |
|---|---|
| public String[] getFontFamilyNames() Implements com.
| |
| getFontFullNames | back to summary |
|---|---|
| public String[] getFontFullNames() Implements com.
| |
| getFontFullNames | back to summary |
|---|---|
| public String[] getFontFullNames(String family) Implements com.
| |
| getFontPath | back to summary |
|---|---|
| private static native String getFontPath() | |
| getFontResource | back to summary |
|---|---|
| public synchronized FontResource getFontResource(String familyName, boolean bold, boolean italic, boolean wantComp) | |
| getFontResource | back to summary |
|---|---|
| private PrismFontFile getFontResource(String name, String file) | |
| getFontResource | back to summary |
|---|---|
| public synchronized FontResource getFontResource(String name, String file, boolean wantComp) | |
| getFontResourceByFileName | back to summary |
|---|---|
| private synchronized FontResource getFontResourceByFileName(String file, boolean wantComp) | |
| getFontResourceByFullName | back to summary |
|---|---|
| private synchronized FontResource getFontResourceByFullName(String name, boolean wantComp) | |
| getFontSizeLimit | back to summary |
|---|---|
| public static float getFontSizeLimit() | |
| getFullNameToFileMap | back to summary |
|---|---|
| private synchronized HashMap | |
| getJDKFontDir | back to summary |
|---|---|
| private static String getJDKFontDir() | |
| getLCDContrast | back to summary |
|---|---|
| public static float getLCDContrast() | |
| getLCDContrastWin32 | back to summary |
|---|---|
| pack-priv static native int getLCDContrastWin32() | |
| getNativeFactoryName | back to summary |
|---|---|
| private static String getNativeFactoryName() | |
| getPathNameWindows | back to summary |
|---|---|
| protected static String getPathNameWindows(final String filename) | |
| getPlatformFontDirs | back to summary |
|---|---|
| private static void getPlatformFontDirs() | |
| getSubPixelMode | back to summary |
|---|---|
| public final int getSubPixelMode() | |
| getSystemFont | back to summary |
|---|---|
| public static String getSystemFont(String name) | |
| getSystemFontNative | back to summary |
|---|---|
| private static native String getSystemFontNative() | |
| getSystemFontSize | back to summary |
|---|---|
| public static float getSystemFontSize() | |
| getSystemFontSizeNative | back to summary |
|---|---|
| private static native float getSystemFontSizeNative() | |
| getSystemLCID | back to summary |
|---|---|
| pack-priv static native short getSystemLCID() | |
| isExcluded | back to summary |
|---|---|
| public boolean isExcluded(String name) | |
| isJreFont | back to summary |
|---|---|
| public static boolean isJreFont(FontResource fr) | |
| isLCDTextSupported | back to summary |
|---|---|
| public boolean isLCDTextSupported() | |
| isPlatformFont | back to summary |
|---|---|
| public boolean isPlatformFont(String name) Implements com.
| |
| loadEmbeddedFont | back to summary |
|---|---|
| public PGFont[] loadEmbeddedFont(String name, InputStream fontStream, float size, boolean register, boolean loadAll) Implements com. Doc from com. Loads a font from the specified input stream.
If the load is successful such that the stream can be
fully read, and it represents a supported font format then a
Any failure such as abbreviated input, or an unsupported font format
will result in a
If the
When the font is registered, an alternative
The font This method does not close the input stream.
| |
| loadEmbeddedFont | back to summary |
|---|---|
| public PGFont[] loadEmbeddedFont(String name, String path, float size, boolean register, boolean loadAll) Implements com. registerEmbeddedFont(String name, String path) is a small subset of registerEmbeddedFont(String name, InputStream fontStream) It does not attempt to create a temporary file and has different parameters. | |
| loadEmbeddedFont1 | back to summary |
|---|---|
| private synchronized PrismFontFile[] loadEmbeddedFont1(String name, String path, boolean register, boolean copy, boolean loadAll) | |
| logFontInfo | back to summary |
|---|---|
| private void logFontInfo(String message, HashMap<String, String> fontToFileMap, HashMap<String, String> fontToFamilyNameMap, HashMap<String, ArrayList<String>> familyToFontListMap) | |
| lookupResource | back to summary |
|---|---|
| private FontResource lookupResource(String lcName, boolean wantComp) | |
| populateFontFileNameMap | back to summary |
|---|---|
| pack-priv static native void populateFontFileNameMap(HashMap<String, String> fontToFileMap, HashMap<String, String> fontToFamilyNameMap, HashMap<String, ArrayList<String>> familyToFontListMap, Locale locale) | |
| populateFontFileNameMapGeneric | back to summary |
|---|---|
| pack-priv void populateFontFileNameMapGeneric(String fontDir) | |
| registerEmbeddedFont | back to summary |
|---|---|
| protected boolean registerEmbeddedFont(String path) | |
| removeEmbeddedFont | back to summary |
|---|---|
| private void removeEmbeddedFont(String name) | |
| removeTmpFont | back to summary |
|---|---|
| pack-priv synchronized void removeTmpFont(WeakReference<PrismFontFile> ref) | |
| resolveFontFiles | back to summary |
|---|---|
| private void resolveFontFiles(HashSet<String> unmappedFiles, ArrayList<String> unmappedFonts, HashMap<String, String> fontToFileMap, HashMap<String, String> fontToFamilyNameMap, HashMap<String, ArrayList<String>> familyToFontListMap) | |
| resolveWindowsFonts | back to summary |
|---|---|
| private void resolveWindowsFonts(HashMap<String, String> fontToFileMap, HashMap<String, String> fontToFamilyNameMap, HashMap<String, ArrayList<String>> familyToFontListMap) | |
| storeInMap | back to summary |
|---|---|
| protected void storeInMap(String name, FontResource resource) | |
| test_getNumEmbeddedFonts | back to summary |
|---|---|
| public int test_getNumEmbeddedFonts() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static PrismFontFactory. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | accept(File dir, String name)
Implements java. Tests if a specified file should be included in a file list. |
| pack-priv static PrismFontFactory. |
| ttFilter | back to summary |
|---|---|
| pack-priv static PrismFontFactory. | |
| TTFilter | back to summary |
|---|---|
| private TTFilter() | |
| accept | back to summary |
|---|---|
| public boolean accept(File dir, String name) Implements java. Doc from java. Tests if a specified file should be included in a file list.
| |
| getInstance | back to summary |
|---|---|
| pack-priv static PrismFontFactory. | |