src/solaris/classes/sun/awt/X11/XToolkit.java

Print this page
rev 1379 : [mq]: fontmanager.patch

*** 49,58 **** --- 49,59 ---- import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.LookAndFeel; import javax.swing.UIDefaults; import sun.awt.*; + import sun.font.FontConfigManager; import sun.font.FontManager; import sun.misc.PerformanceLogger; import sun.print.PrintJob2D; import sun.security.action.GetBooleanAction;
*** 93,102 **** --- 94,105 ---- * XSETTINGS for the default screen. * <p> */ private XSettings xs; + private FontConfigManager fcManager = new FontConfigManager(); + static int arrowCursor; static TreeMap winMap = new TreeMap(); static HashMap specialPeerMap = new HashMap(); static HashMap winToDispatcher = new HashMap(); private static long _display;
*** 1525,1535 **** * If that isn't found let SunToolkit will see if there's a * system property set by a user. */ if (desktopProperties.get(SunToolkit.DESKTOPFONTHINTS) == null) { if (XWM.isKDE2()) { ! Object hint = FontManager.getFontConfigAAHint(); if (hint != null) { /* set the fontconfig/KDE property so that * getDesktopHints() below will see it * and set the public property. */ --- 1528,1538 ---- * If that isn't found let SunToolkit will see if there's a * system property set by a user. */ if (desktopProperties.get(SunToolkit.DESKTOPFONTHINTS) == null) { if (XWM.isKDE2()) { ! Object hint = fcManager.getFontConfigAAHint(); if (hint != null) { /* set the fontconfig/KDE property so that * getDesktopHints() below will see it * and set the public property. */