jgnash.ui.report
Class FontRegistry
java.lang.Object
jgnash.ui.report.FontRegistry
public class FontRegistry
- extends java.lang.Object
Utility class map font names to font files
- Version:
- $Id$
- Author:
- Craig Cavanaugh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
registeredFontMap
private java.util.Map<java.lang.String,java.lang.String> registeredFontMap
- Maps the font file to the font name for embedding fonts in PDF files
registry
private static FontRegistry registry
registrationComplete
private static java.util.concurrent.atomic.AtomicBoolean registrationComplete
registrationStarted
private static java.util.concurrent.atomic.AtomicBoolean registrationStarted
FontRegistry
private FontRegistry()
getRegisteredFontPath
protected static java.lang.String getRegisteredFontPath(java.lang.String name)
registerFonts
public static void registerFonts()
registerFont
private void registerFont(java.lang.String path)
registerFontDirectory
private void registerFontDirectory(java.lang.String dir)
- Register all the fonts in a directory and its subdirectories.
- Parameters:
dir - the directory
registerFontDirectories
protected void registerFontDirectories()
- Register fonts in known directories.