public final class sun.font.FontUtilities
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.font.FontUtilities
super_class: java.lang.Object
{
public static boolean isSolaris;
descriptor: Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
public static boolean isLinux;
descriptor: Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
public static boolean isMacOSX;
descriptor: Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
public static boolean useJDKScaler;
descriptor: Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
public static boolean isWindows;
descriptor: Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
private static boolean debugFonts;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.util.logging.PlatformLogger logger;
descriptor: Lsun/util/logging/PlatformLogger;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean logging;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
public static final int MIN_LAYOUT_CHARCODE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 768
public static final int MAX_LAYOUT_CHARCODE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8303
private static volatile java.lang.ref.SoftReference<java.util.concurrent.ConcurrentHashMap<sun.font.PhysicalFont, sun.font.CompositeFont>> compMapRef;
descriptor: Ljava/lang/ref/SoftReference;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
Signature: Ljava/lang/ref/SoftReference<Ljava/util/concurrent/ConcurrentHashMap<Lsun/font/PhysicalFont;Lsun/font/CompositeFont;>;>;
private static final java.lang.String[][] nameMap;
descriptor: [[Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: iconst_0
putstatic sun.font.FontUtilities.debugFonts:Z
1: aconst_null
putstatic sun.font.FontUtilities.logger:Lsun/util/logging/PlatformLogger;
2: new sun.font.FontUtilities$1
dup
invokespecial sun.font.FontUtilities$1.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
3: new java.lang.ref.SoftReference
dup
aconst_null
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;)V
putstatic sun.font.FontUtilities.compMapRef:Ljava/lang/ref/SoftReference;
4: iconst_4
anewarray java.lang.String[]
dup
iconst_0
5: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "sans"
aastore
dup
iconst_1
ldc "sansserif"
aastore
aastore
dup
iconst_1
6: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "sans-serif"
aastore
dup
iconst_1
ldc "sansserif"
aastore
aastore
dup
iconst_2
7: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "serif"
aastore
dup
iconst_1
ldc "serif"
aastore
aastore
dup
iconst_3
8: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "monospace"
aastore
dup
iconst_1
ldc "monospaced"
aastore
aastore
9: putstatic sun.font.FontUtilities.nameMap:[[Ljava/lang/String;
10: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/font/FontUtilities;
public static sun.font.Font2D getFont2D(java.awt.Font);
descriptor: (Ljava/awt/Font;)Lsun/font/Font2D;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic sun.font.FontAccess.getFontAccess:()Lsun/font/FontAccess;
aload 0
invokevirtual sun.font.FontAccess.getFont2D:(Ljava/awt/Font;)Lsun/font/Font2D;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 font Ljava/awt/Font;
MethodParameters:
Name Flags
font
public static boolean isComplexScript(char[], int, int);
descriptor: ([CII)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
istore 3
start local 3 1: goto 7
2: StackMap locals: int
StackMap stack:
aload 0
iload 3
caload
sipush 768
if_icmpge 4
3: goto 6
4: StackMap locals:
StackMap stack:
aload 0
iload 3
caload
invokestatic sun.font.FontUtilities.isComplexCharCode:(I)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 2
if_icmplt 2
end local 3 8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 chs [C
0 9 1 start I
0 9 2 limit I
1 8 3 i I
MethodParameters:
Name Flags
chs
start
limit
public static boolean isComplexText(char[], int, int);
descriptor: ([CII)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
istore 3
start local 3 1: goto 7
2: StackMap locals: int
StackMap stack:
aload 0
iload 3
caload
sipush 768
if_icmpge 4
3: goto 6
4: StackMap locals:
StackMap stack:
aload 0
iload 3
caload
invokestatic sun.font.FontUtilities.isNonSimpleChar:(C)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 2
if_icmplt 2
end local 3 8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 chs [C
0 9 1 start I
0 9 2 limit I
1 8 3 i I
MethodParameters:
Name Flags
chs
start
limit
public static boolean isNonSimpleChar(char);
descriptor: (C)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
invokestatic sun.font.FontUtilities.isComplexCharCode:(I)Z
ifne 5
1: iload 0
ldc 55296
if_icmplt 4
2: iload 0
ldc 57343
3: if_icmple 5
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
StackMap locals:
StackMap stack:
5: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 ch C
MethodParameters:
Name Flags
ch
public static boolean isComplexCharCode(int);
descriptor: (I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
sipush 768
if_icmplt 1
iload 0
sipush 8303
if_icmple 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iload 0
sipush 879
if_icmpgt 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iload 0
sipush 1424
if_icmpge 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iload 0
sipush 1791
if_icmpgt 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iload 0
sipush 2304
if_icmpge 10
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iload 0
sipush 3711
if_icmpgt 12
11: iconst_1
ireturn
12: StackMap locals:
StackMap stack:
iload 0
sipush 3840
if_icmpge 14
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack:
iload 0
sipush 4095
if_icmpgt 16
15: iconst_1
ireturn
16: StackMap locals:
StackMap stack:
iload 0
sipush 4256
if_icmpge 18
17: iconst_1
ireturn
18: StackMap locals:
StackMap stack:
iload 0
sipush 4352
if_icmpge 20
19: iconst_0
ireturn
20: StackMap locals:
StackMap stack:
iload 0
sipush 4607
if_icmpge 22
21: iconst_1
ireturn
22: StackMap locals:
StackMap stack:
iload 0
sipush 6016
if_icmpge 24
23: iconst_0
ireturn
24: StackMap locals:
StackMap stack:
iload 0
sipush 6143
if_icmpgt 26
25: iconst_1
ireturn
26: StackMap locals:
StackMap stack:
iload 0
sipush 8204
if_icmpge 28
27: iconst_0
ireturn
28: StackMap locals:
StackMap stack:
iload 0
sipush 8205
if_icmpgt 30
29: iconst_1
ireturn
30: StackMap locals:
StackMap stack:
iload 0
sipush 8234
if_icmplt 32
iload 0
sipush 8238
if_icmpgt 32
31: iconst_1
ireturn
32: StackMap locals:
StackMap stack:
iload 0
sipush 8298
if_icmplt 34
iload 0
sipush 8303
if_icmpgt 34
33: iconst_1
ireturn
34: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 code I
MethodParameters:
Name Flags
code
public static sun.util.logging.PlatformLogger getLogger();
descriptor: ()Lsun/util/logging/PlatformLogger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.font.FontUtilities.logger:Lsun/util/logging/PlatformLogger;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean isLogging();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.font.FontUtilities.logging:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean debugFonts();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.font.FontUtilities.debugFonts:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean fontSupportsDefaultEncoding(java.awt.Font);
descriptor: (Ljava/awt/Font;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic sun.font.FontUtilities.getFont2D:(Ljava/awt/Font;)Lsun/font/Font2D;
instanceof sun.font.CompositeFont
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 font Ljava/awt/Font;
MethodParameters:
Name Flags
font
public static javax.swing.plaf.FontUIResource getCompositeFontUIResource(java.awt.Font);
descriptor: (Ljava/awt/Font;)Ljavax/swing/plaf/FontUIResource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=9, args_size=1
start local 0 0: new javax.swing.plaf.FontUIResource
dup
aload 0
invokespecial javax.swing.plaf.FontUIResource.<init>:(Ljava/awt/Font;)V
astore 1
start local 1 1: aload 0
invokestatic sun.font.FontUtilities.getFont2D:(Ljava/awt/Font;)Lsun/font/Font2D;
astore 2
start local 2 2: aload 2
instanceof sun.font.PhysicalFont
ifne 4
3: aload 1
areturn
4: StackMap locals: javax.swing.plaf.FontUIResource sun.font.Font2D
StackMap stack:
invokestatic sun.font.FontManagerFactory.getInstance:()Lsun/font/FontManager;
astore 3
start local 3 5: aload 3
ldc "dialog"
aload 0
invokevirtual java.awt.Font.getStyle:()I
iconst_0
invokeinterface sun.font.FontManager.findFont2D:(Ljava/lang/String;II)Lsun/font/Font2D;
astore 4
start local 4 6: aload 4
ifnull 7
aload 4
instanceof sun.font.CompositeFont
ifne 8
7: StackMap locals: sun.font.FontManager sun.font.Font2D
StackMap stack:
aload 1
areturn
8: StackMap locals:
StackMap stack:
aload 4
checkcast sun.font.CompositeFont
astore 5
start local 5 9: aload 2
checkcast sun.font.PhysicalFont
astore 6
start local 6 10: getstatic sun.font.FontUtilities.compMapRef:Ljava/lang/ref/SoftReference;
invokevirtual java.lang.ref.SoftReference.get:()Ljava/lang/Object;
checkcast java.util.concurrent.ConcurrentHashMap
astore 7
start local 7 11: aload 7
ifnonnull 14
12: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
astore 7
13: new java.lang.ref.SoftReference
dup
aload 7
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;)V
putstatic sun.font.FontUtilities.compMapRef:Ljava/lang/ref/SoftReference;
14: StackMap locals: sun.font.CompositeFont sun.font.PhysicalFont java.util.concurrent.ConcurrentHashMap
StackMap stack:
aload 7
aload 6
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.font.CompositeFont
astore 8
start local 8 15: aload 8
ifnonnull 18
16: new sun.font.CompositeFont
dup
aload 6
aload 5
invokespecial sun.font.CompositeFont.<init>:(Lsun/font/PhysicalFont;Lsun/font/CompositeFont;)V
astore 8
17: aload 7
aload 6
aload 8
invokevirtual java.util.concurrent.ConcurrentHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: StackMap locals: sun.font.CompositeFont
StackMap stack:
invokestatic sun.font.FontAccess.getFontAccess:()Lsun/font/FontAccess;
aload 1
aload 8
getfield sun.font.CompositeFont.handle:Lsun/font/Font2DHandle;
invokevirtual sun.font.FontAccess.setFont2D:(Ljava/awt/Font;Lsun/font/Font2DHandle;)V
19: invokestatic sun.font.FontAccess.getFontAccess:()Lsun/font/FontAccess;
aload 1
invokevirtual sun.font.FontAccess.setCreatedFont:(Ljava/awt/Font;)V
20: aload 1
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 font Ljava/awt/Font;
1 21 1 fuir Ljavax/swing/plaf/FontUIResource;
2 21 2 font2D Lsun/font/Font2D;
5 21 3 fm Lsun/font/FontManager;
6 21 4 dialog Lsun/font/Font2D;
9 21 5 dialog2D Lsun/font/CompositeFont;
10 21 6 physicalFont Lsun/font/PhysicalFont;
11 21 7 compMap Ljava/util/concurrent/ConcurrentHashMap<Lsun/font/PhysicalFont;Lsun/font/CompositeFont;>;
15 21 8 compFont Lsun/font/CompositeFont;
MethodParameters:
Name Flags
font
public static java.lang.String mapFcName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
getstatic sun.font.FontUtilities.nameMap:[[Ljava/lang/String;
iload 1
aaload
iconst_0
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: getstatic sun.font.FontUtilities.nameMap:[[Ljava/lang/String;
iload 1
aaload
iconst_1
aaload
areturn
4: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
getstatic sun.font.FontUtilities.nameMap:[[Ljava/lang/String;
arraylength
if_icmplt 2
end local 1 6: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 name Ljava/lang/String;
1 6 1 i I
MethodParameters:
Name Flags
name
public static javax.swing.plaf.FontUIResource getFontConfigFUIR(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)Ljavax/swing/plaf/FontUIResource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic sun.font.FontUtilities.mapFcName:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: ldc "sansserif"
astore 3
3: StackMap locals: java.lang.String
StackMap stack:
invokestatic sun.font.FontManagerFactory.getInstance:()Lsun/font/FontManager;
astore 5
start local 5 4: aload 5
instanceof sun.font.SunFontManager
ifeq 8
5: aload 5
checkcast sun.font.SunFontManager
astore 6
start local 6 6: aload 6
aload 3
iload 1
iload 2
invokevirtual sun.font.SunFontManager.getFontConfigFUIR:(Ljava/lang/String;II)Ljavax/swing/plaf/FontUIResource;
astore 4
end local 6 start local 4 7: goto 9
end local 4 8: StackMap locals: java.lang.String int int java.lang.String top sun.font.FontManager
StackMap stack:
new javax.swing.plaf.FontUIResource
dup
aload 3
iload 1
iload 2
invokespecial javax.swing.plaf.FontUIResource.<init>:(Ljava/lang/String;II)V
astore 4
start local 4 9: StackMap locals: java.lang.String int int java.lang.String javax.swing.plaf.FontUIResource sun.font.FontManager
StackMap stack:
aload 4
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 fcFamily Ljava/lang/String;
0 10 1 style I
0 10 2 size I
1 10 3 mapped Ljava/lang/String;
7 8 4 fuir Ljavax/swing/plaf/FontUIResource;
9 10 4 fuir Ljavax/swing/plaf/FontUIResource;
4 10 5 fm Lsun/font/FontManager;
6 7 6 sfm Lsun/font/SunFontManager;
MethodParameters:
Name Flags
fcFamily
style
size
public static boolean textLayoutIsCompatible(java.awt.Font);
descriptor: (Ljava/awt/Font;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokestatic sun.font.FontUtilities.getFont2D:(Ljava/awt/Font;)Lsun/font/Font2D;
astore 1
start local 1 1: aload 1
instanceof sun.font.TrueTypeFont
ifeq 7
2: aload 1
checkcast sun.font.TrueTypeFont
astore 2
start local 2 3: aload 2
ldc 1196643650
invokevirtual sun.font.TrueTypeFont.getDirectoryEntry:(I)Lsun/font/TrueTypeFont$DirectoryEntry;
ifnull 6
4: aload 2
ldc 1196445523
invokevirtual sun.font.TrueTypeFont.getDirectoryEntry:(I)Lsun/font/TrueTypeFont$DirectoryEntry;
ifnonnull 6
5: iconst_0
ireturn
StackMap locals: sun.font.Font2D sun.font.TrueTypeFont
StackMap stack:
6: iconst_1
ireturn
end local 2 7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 font Ljava/awt/Font;
1 8 1 font2D Lsun/font/Font2D;
3 7 2 ttf Lsun/font/TrueTypeFont;
MethodParameters:
Name Flags
font
}
SourceFile: "FontUtilities.java"
NestMembers:
sun.font.FontUtilities$1
InnerClasses:
sun.font.FontUtilities$1
DirectoryEntry = sun.font.TrueTypeFont$DirectoryEntry of sun.font.TrueTypeFont