changeset 11973:98134784d945

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 c51754cddc03
children 6ae72fa75a6e
files jdk/src/share/classes/sun/font/SunFontManager.java
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/share/classes/sun/font/SunFontManager.java	Wed Jul 05 18:03:20 2017 +0200
+++ b/jdk/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().