changeset 5070:f959bde6990a

7147584: Changing to Nimbus/GTK in SwingSet2 on Solaris 10 Sparc causes malformed menus/layout Reviewed-by: igor, jgodinez
author prr
date Fri, 24 Feb 2012 09:37:01 -0800
parents c68342532e2e
children 534feb7930ec
files src/share/classes/sun/font/SunFontManager.java
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/font/SunFontManager.java	Sat Feb 18 16:11:47 2012 -0800
+++ b/src/share/classes/sun/font/SunFontManager.java	Fri Feb 24 09:37:01 2012 -0800
@@ -2619,10 +2619,6 @@
         physicalFonts.remove(oldFont.fullName);
         fullNameToFont.remove(oldFont.fullName.toLowerCase(Locale.ENGLISH));
         FontFamily.remove(oldFont);
-        if (oldFont instanceof FileFont) {
-            ((FileFont)oldFont).deregisterFontAndClearStrikeCache();
-        }
-
         if (localeFullNamesToFont != null) {
             Map.Entry[] mapEntries =
                 (Map.Entry[])localeFullNamesToFont.entrySet().