src/share/classes/sun/font/FontManagerNativeLibrary.java
Print this page
rev 1379 : [mq]: fontmanager.patch
*** 32,42 ****
java.security.AccessController.doPrivileged(
new java.security.PrivilegedAction() {
public Object run() {
/* REMIND do we really have to load awt here? */
System.loadLibrary("awt");
! if (SunGraphicsEnvironment.isOpenJDK() &&
System.getProperty("os.name").startsWith("Windows")) {
/* Ideally fontmanager library should not depend on
particular implementation of the font scaler.
However, freetype scaler is basically small wrapper on
top of freetype library (that is used in binary form).
--- 32,42 ----
java.security.AccessController.doPrivileged(
new java.security.PrivilegedAction() {
public Object run() {
/* REMIND do we really have to load awt here? */
System.loadLibrary("awt");
! if (FontUtilities.isOpenJDK &&
System.getProperty("os.name").startsWith("Windows")) {
/* Ideally fontmanager library should not depend on
particular implementation of the font scaler.
However, freetype scaler is basically small wrapper on
top of freetype library (that is used in binary form).