home *** CD-ROM | disk | FTP | other *** search
- package sun.java2d;
-
- import java.security.PrivilegedAction;
- import sun.awt.font.NativeFontWrapper;
-
- class SunGraphicsEnvironment$1 implements PrivilegedAction {
- // $FF: synthetic field
- private final SunGraphicsEnvironment this$0;
-
- SunGraphicsEnvironment$1(SunGraphicsEnvironment var1) {
- this.this$0 = var1;
- }
-
- public Object run() {
- this.this$0.fontPath = System.getProperty("java.awt.fonts");
- if (this.this$0.fontPath.length() == 0) {
- boolean var1 = false;
- String var2 = System.getProperty("sun.java2d.noType1Font");
- if (var2 == null) {
- var1 = NativeFontWrapper.getType1FontVar();
- }
-
- if ("true".equals(var2)) {
- var1 = true;
- }
-
- this.this$0.fontPath = NativeFontWrapper.getFontPath(var1);
- SunGraphicsEnvironment.access$000(this.this$0);
- this.this$0.loadNativeFonts = true;
- }
-
- SunGraphicsEnvironment.access$100(this.this$0);
- this.this$0.initCompositeFonts();
- return null;
- }
- }
-