CFontManager.java revision 5331
0N/A boolean preferPropFonts)
0N/A return defaultPlatformFont;
0N/A return registerGenericFont(f, false);
0N/A if (!logicalFont)
0N/A protected void addNativeFontFamilyNames(TreeMap<String, String> familyNames, Locale requestedLocale) {
0N/A public Font2D createFont2D(File fontFile, int fontFormat, boolean isCopy, CreatedFontTracker tracker) throws FontFormatException {
0N/A switch (fontFormat) {
0N/A } catch (FontFormatException e) {
0N/A synchronized (FontManager.class) {
0N/A protected void registerFontsInDir(String dirName, boolean useJavaRasterizer, int fontRank, boolean defer, boolean resolveSymLinks) {
0N/A private native void loadNativeFonts();
0N/A synchronized(waitForFontsToBeLoaded)
0N/A protected FontFamily getFontFamilyWithExtraTry(String logicalName, String realName, String fallbackName){
0N/A System.err.println("Warning: the fonts \"" + realName + "\" and \"" + fallbackName + "\" are not available for the Java logical font \"" + logicalName + "\", which may have unexpected appearance or behavior. Re-enable the \""+ realName +"\" font to remove this warning.");
0N/A System.err.println("Warning: the font \"" + realName + "\" is not available, so \"" + fallbackName + "\" has been substituted, but may have unexpected appearance or behavor. Re-enable the \""+ realName +"\" font to remove this warning.");
0N/A protected boolean cloneStyledFont(FontFamily realFamily, String logicalFamilyName, int style) {
0N/A // In the case of the Cocoa toolkit, since we go through NSFont, we dont need to register /Library/Fonts
0N/A protected void populateFontFileNameMap(HashMap<String, String> fontToFileMap, HashMap<String, String> fontToFamilyNameMap,