public final class sun.font.CFontManager extends sun.font.SunFontManager
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.font.CFontManager
super_class: sun.font.SunFontManager
{
private static java.util.Hashtable<java.lang.String, sun.font.Font2D> genericFonts;
descriptor: Ljava/util/Hashtable;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Hashtable<Ljava/lang/String;Lsun/font/Font2D;>;
java.lang.Object waitForFontsToBeLoaded;
descriptor: Ljava/lang/Object;
flags: (0x0000)
private boolean loadedAllFonts;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putstatic sun.font.CFontManager.genericFonts:Ljava/util/Hashtable;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.font.SunFontManager.<init>:()V
1: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.font.CFontManager.waitForFontsToBeLoaded:Ljava/lang/Object;
2: aload 0
iconst_0
putfield sun.font.CFontManager.loadedAllFonts:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/font/CFontManager;
protected sun.awt.FontConfiguration createFontConfiguration();
descriptor: ()Lsun/awt/FontConfiguration;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: new sun.font.CFontConfiguration
dup
aload 0
invokespecial sun.font.CFontConfiguration.<init>:(Lsun/font/SunFontManager;)V
astore 1
start local 1 1: aload 1
invokevirtual sun.awt.FontConfiguration.init:()Z
pop
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/font/CFontManager;
1 3 1 fc Lsun/awt/FontConfiguration;
public sun.awt.FontConfiguration createFontConfiguration(boolean, boolean);
descriptor: (ZZ)Lsun/awt/FontConfiguration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new sun.font.CFontConfiguration
dup
aload 0
iload 1
iload 2
invokespecial sun.font.CFontConfiguration.<init>:(Lsun/font/SunFontManager;ZZ)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/font/CFontManager;
0 1 1 preferLocaleFonts Z
0 1 2 preferPropFonts Z
MethodParameters:
Name Flags
preferLocaleFonts
preferPropFonts
protected java.lang.String[] getDefaultPlatformFont();
descriptor: ()[Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "Lucida Grande"
aastore
dup
iconst_1
1: ldc "/System/Library/Fonts/LucidaGrande.ttc"
aastore
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/font/CFontManager;
public static sun.font.Font2D[] getGenericFonts();
descriptor: ()[Lsun/font/Font2D;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic sun.font.CFontManager.genericFonts:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.values:()Ljava/util/Collection;
iconst_0
anewarray sun.font.Font2D
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast sun.font.Font2D[]
areturn
LocalVariableTable:
Start End Slot Name Signature
public sun.font.Font2D registerGenericFont(sun.font.Font2D);
descriptor: (Lsun/font/Font2D;)Lsun/font/Font2D;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual sun.font.CFontManager.registerGenericFont:(Lsun/font/Font2D;Z)Lsun/font/Font2D;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/font/CFontManager;
0 1 1 f Lsun/font/Font2D;
MethodParameters:
Name Flags
f
public sun.font.Font2D registerGenericFont(sun.font.Font2D, boolean);
descriptor: (Lsun/font/Font2D;Z)Lsun/font/Font2D;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: iconst_4
istore 3
start local 3 1: aload 1
getfield sun.font.Font2D.fullName:Ljava/lang/String;
astore 4
start local 4 2: aload 1
getfield sun.font.Font2D.familyName:Ljava/lang/String;
astore 5
start local 5 3: aload 4
ifnull 4
aload 4
invokevirtual java.lang.String.isEmpty:()Z
ifeq 5
4: StackMap locals: int java.lang.String java.lang.String
StackMap stack:
aconst_null
areturn
5: StackMap locals:
StackMap stack:
iload 2
ifne 6
getstatic sun.font.CFontManager.genericFonts:Ljava/util/Hashtable;
aload 4
invokevirtual java.util.Hashtable.containsKey:(Ljava/lang/Object;)Z
ifne 21
6: StackMap locals:
StackMap stack:
invokestatic sun.font.FontUtilities.debugFonts:()Z
ifeq 10
7: new java.lang.StringBuilder
dup
ldc "Add to Family "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: ldc ", Font "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " rank="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
9: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.font.FontUtilities.logInfo:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 5
invokestatic sun.font.FontFamily.getFamily:(Ljava/lang/String;)Lsun/font/FontFamily;
astore 6
start local 6 11: aload 6
ifnonnull 15
12: new sun.font.FontFamily
dup
aload 5
iconst_0
iload 3
invokespecial sun.font.FontFamily.<init>:(Ljava/lang/String;ZI)V
astore 6
13: aload 6
aload 1
aload 1
getfield sun.font.Font2D.style:I
invokevirtual sun.font.FontFamily.setFont:(Lsun/font/Font2D;I)V
14: goto 17
StackMap locals: sun.font.FontFamily
StackMap stack:
15: aload 6
invokevirtual sun.font.FontFamily.getRank:()I
iload 3
if_icmplt 17
16: aload 6
aload 1
aload 1
getfield sun.font.Font2D.style:I
invokevirtual sun.font.FontFamily.setFont:(Lsun/font/Font2D;I)V
17: StackMap locals:
StackMap stack:
iload 2
ifne 20
18: getstatic sun.font.CFontManager.genericFonts:Ljava/util/Hashtable;
aload 4
aload 1
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: aload 0
getfield sun.font.CFontManager.fullNameToFont:Ljava/util/concurrent/ConcurrentHashMap;
aload 4
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
aload 1
invokevirtual java.util.concurrent.ConcurrentHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
20: StackMap locals:
StackMap stack:
aload 1
areturn
end local 6 21: StackMap locals:
StackMap stack:
getstatic sun.font.CFontManager.genericFonts:Ljava/util/Hashtable;
aload 4
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.font.Font2D
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 22 0 this Lsun/font/CFontManager;
0 22 1 f Lsun/font/Font2D;
0 22 2 logicalFont Z
1 22 3 rank I
2 22 4 fontName Ljava/lang/String;
3 22 5 familyName Ljava/lang/String;
11 21 6 family Lsun/font/FontFamily;
MethodParameters:
Name Flags
f
logicalFont
public sun.font.Font2D[] getRegisteredFonts();
descriptor: ()[Lsun/font/Font2D;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokespecial sun.font.SunFontManager.getRegisteredFonts:()[Lsun/font/Font2D;
astore 1
start local 1 1: invokestatic sun.font.CFontManager.getGenericFonts:()[Lsun/font/Font2D;
astore 2
start local 2 2: aload 1
arraylength
aload 2
arraylength
iadd
anewarray sun.font.Font2D
astore 3
start local 3 3: aload 1
iconst_0
aload 3
iconst_0
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 2
iconst_0
aload 3
aload 1
arraylength
aload 2
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/font/CFontManager;
1 6 1 regFonts [Lsun/font/Font2D;
2 6 2 genericFonts [Lsun/font/Font2D;
3 6 3 allFonts [Lsun/font/Font2D;
protected void addNativeFontFamilyNames(java.util.TreeMap<java.lang.String, java.lang.String>, java.util.Locale);
descriptor: (Ljava/util/TreeMap;Ljava/util/Locale;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: invokestatic sun.font.CFontManager.getGenericFonts:()[Lsun/font/Font2D;
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 7
3: StackMap locals: sun.font.Font2D[] int
StackMap stack:
aload 3
iload 4
aaload
instanceof sun.font.NativeFont
ifne 6
4: aload 3
iload 4
aaload
aload 2
invokevirtual sun.font.Font2D.getFamilyName:(Ljava/util/Locale;)Ljava/lang/String;
astore 5
start local 5 5: aload 1
aload 5
aload 2
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
aload 5
invokevirtual java.util.TreeMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 6: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
aload 3
arraylength
if_icmplt 3
end local 4 8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/font/CFontManager;
0 9 1 familyNames Ljava/util/TreeMap<Ljava/lang/String;Ljava/lang/String;>;
0 9 2 requestedLocale Ljava/util/Locale;
1 9 3 genericfonts [Lsun/font/Font2D;
2 8 4 i I
5 6 5 name Ljava/lang/String;
Signature: (Ljava/util/TreeMap<Ljava/lang/String;Ljava/lang/String;>;Ljava/util/Locale;)V
MethodParameters:
Name Flags
familyNames
requestedLocale
protected void registerFontsInDir(java.lang.String, boolean, int, boolean, boolean);
descriptor: (Ljava/lang/String;ZIZZ)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=11, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
invokedynamic run(Lsun/font/CFontManager;Ljava/lang/String;)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
sun/font/CFontManager.lambda$0(Ljava/lang/String;)[Ljava/lang/String; (7)
()[Ljava/lang/String;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String[]
astore 6
start local 6 1: aload 6
ifnonnull 3
2: return
3: StackMap locals: java.lang.String[]
StackMap stack:
aload 6
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 7
StackMap locals: sun.font.CFontManager java.lang.String int int int int java.lang.String[] top int int java.lang.String[]
StackMap stack:
4: aload 10
iload 8
aaload
astore 7
start local 7 5: aload 0
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.font.CFontManager.loadNativeDirFonts:(Ljava/lang/String;)V
end local 7 6: iinc 8 1
StackMap locals:
StackMap stack:
7: iload 8
iload 9
if_icmplt 4
8: aload 0
aload 1
iload 2
iload 3
iload 4
iload 5
invokespecial sun.font.SunFontManager.registerFontsInDir:(Ljava/lang/String;ZIZZ)V
9: return
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 10 0 this Lsun/font/CFontManager;
0 10 1 dirName Ljava/lang/String;
0 10 2 useJavaRasterizer Z
0 10 3 fontRank I
0 10 4 defer Z
0 10 5 resolveSymLinks Z
1 10 6 files [Ljava/lang/String;
5 6 7 f Ljava/lang/String;
MethodParameters:
Name Flags
dirName final
useJavaRasterizer
fontRank
defer
resolveSymLinks
private native void loadNativeDirFonts(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
fontPath
private native void loadNativeFonts();
descriptor: ()V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
void registerFont(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new sun.font.CFont
dup
aload 1
aload 2
invokespecial sun.font.CFont.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 3
start local 3 1: aload 0
aload 3
invokevirtual sun.font.CFontManager.registerGenericFont:(Lsun/font/Font2D;)Lsun/font/Font2D;
pop
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/font/CFontManager;
0 3 1 fontName Ljava/lang/String;
0 3 2 fontFamilyName Ljava/lang/String;
1 3 3 font Lsun/font/CFont;
MethodParameters:
Name Flags
fontName
fontFamilyName
void registerItalicDerived();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=12, args_size=1
start local 0 0: invokestatic sun.font.FontFamily.getAllFontFamilies:()[Lsun/font/FontFamily;
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 24
3: StackMap locals: sun.font.FontFamily[] int
StackMap stack:
aload 1
iload 2
aaload
astore 3
start local 3 4: aload 3
iconst_0
invokevirtual sun.font.FontFamily.getFont:(I)Lsun/font/Font2D;
astore 4
start local 4 5: aload 4
ifnull 6
aload 4
instanceof sun.font.CFont
ifne 6
goto 23
6: StackMap locals: sun.font.FontFamily sun.font.Font2D
StackMap stack:
aload 3
iconst_1
invokevirtual sun.font.FontFamily.getFont:(I)Lsun/font/Font2D;
astore 5
start local 5 7: aload 5
ifnull 8
aload 5
instanceof sun.font.CFont
ifne 8
goto 23
8: StackMap locals: sun.font.Font2D
StackMap stack:
aload 3
iconst_2
invokevirtual sun.font.FontFamily.getFont:(I)Lsun/font/Font2D;
astore 6
start local 6 9: aload 6
ifnull 10
aload 6
instanceof sun.font.CFont
ifne 10
goto 23
10: StackMap locals: sun.font.Font2D
StackMap stack:
aload 3
iconst_3
invokevirtual sun.font.FontFamily.getFont:(I)Lsun/font/Font2D;
astore 7
start local 7 11: aload 7
ifnull 12
aload 7
instanceof sun.font.CFont
ifne 12
goto 23
12: StackMap locals: sun.font.Font2D
StackMap stack:
aload 4
checkcast sun.font.CFont
astore 8
start local 8 13: aload 5
checkcast sun.font.CFont
astore 9
start local 9 14: aload 6
checkcast sun.font.CFont
astore 10
start local 10 15: aload 7
checkcast sun.font.CFont
astore 11
start local 11 16: aload 9
ifnonnull 17
aload 8
astore 9
17: StackMap locals: sun.font.CFontManager sun.font.FontFamily[] int sun.font.FontFamily sun.font.Font2D sun.font.Font2D sun.font.Font2D sun.font.Font2D sun.font.CFont sun.font.CFont sun.font.CFont sun.font.CFont
StackMap stack:
aload 8
ifnonnull 18
aload 9
ifnonnull 18
goto 23
18: StackMap locals:
StackMap stack:
aload 10
ifnull 19
aload 11
ifnull 19
goto 23
19: StackMap locals:
StackMap stack:
aload 8
ifnull 21
aload 10
ifnonnull 21
20: aload 0
aload 8
invokevirtual sun.font.CFont.createItalicVariant:()Lsun/font/CFont;
iconst_1
invokevirtual sun.font.CFontManager.registerGenericFont:(Lsun/font/Font2D;Z)Lsun/font/Font2D;
pop
21: StackMap locals:
StackMap stack:
aload 9
ifnull 23
aload 11
ifnonnull 23
22: aload 0
aload 9
invokevirtual sun.font.CFont.createItalicVariant:()Lsun/font/CFont;
iconst_1
invokevirtual sun.font.CFontManager.registerGenericFont:(Lsun/font/Font2D;Z)Lsun/font/Font2D;
pop
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 23: StackMap locals: sun.font.CFontManager sun.font.FontFamily[] int
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
24: iload 2
aload 1
arraylength
if_icmplt 3
end local 2 25: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lsun/font/CFontManager;
1 26 1 famArr [Lsun/font/FontFamily;
2 25 2 i I
4 23 3 family Lsun/font/FontFamily;
5 23 4 f2dPlain Lsun/font/Font2D;
7 23 5 f2dBold Lsun/font/Font2D;
9 23 6 f2dItalic Lsun/font/Font2D;
11 23 7 f2dBoldItalic Lsun/font/Font2D;
13 23 8 plain Lsun/font/CFont;
14 23 9 bold Lsun/font/CFont;
15 23 10 italic Lsun/font/CFont;
16 23 11 boldItalic Lsun/font/CFont;
public void loadFonts();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.font.CFontManager.waitForFontsToBeLoaded:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokespecial sun.font.SunFontManager.loadFonts:()V
2: new sun.font.CFontManager$1
dup
aload 0
invokespecial sun.font.CFontManager$1.<init>:(Lsun/font/CFontManager;)V
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
4: ldc "Lucida Grande"
astore 2
start local 2 5: ldc "Lucida Grande"
astore 3
start local 3 6: aload 0
ldc "Dialog"
aload 2
aload 3
invokevirtual sun.font.CFontManager.setupLogicalFonts:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
7: aload 0
ldc "Serif"
ldc "Times"
ldc "Times"
invokevirtual sun.font.CFontManager.setupLogicalFonts:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
8: aload 0
ldc "SansSerif"
aload 2
aload 3
invokevirtual sun.font.CFontManager.setupLogicalFonts:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
9: aload 0
ldc "Monospaced"
ldc "Menlo"
ldc "Courier"
invokevirtual sun.font.CFontManager.setupLogicalFonts:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
10: aload 0
ldc "DialogInput"
aload 2
aload 3
invokevirtual sun.font.CFontManager.setupLogicalFonts:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
end local 3 end local 2 11: aload 1
monitorexit
12: goto 15
StackMap locals: sun.font.CFontManager java.lang.Object
StackMap stack: java.lang.Throwable
13: aload 1
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/font/CFontManager;
5 11 2 defaultFont Ljava/lang/String;
6 11 3 defaultFallback Ljava/lang/String;
Exception table:
from to target type
1 12 13 any
13 14 13 any
protected void setupLogicalFonts(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual sun.font.CFontManager.getFontFamilyWithExtraTry:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lsun/font/FontFamily;
astore 4
start local 4 1: aload 0
aload 4
aload 1
iconst_0
invokevirtual sun.font.CFontManager.cloneStyledFont:(Lsun/font/FontFamily;Ljava/lang/String;I)Z
pop
2: aload 0
aload 4
aload 1
iconst_1
invokevirtual sun.font.CFontManager.cloneStyledFont:(Lsun/font/FontFamily;Ljava/lang/String;I)Z
pop
3: aload 0
aload 4
aload 1
iconst_2
invokevirtual sun.font.CFontManager.cloneStyledFont:(Lsun/font/FontFamily;Ljava/lang/String;I)Z
pop
4: aload 0
aload 4
aload 1
iconst_3
invokevirtual sun.font.CFontManager.cloneStyledFont:(Lsun/font/FontFamily;Ljava/lang/String;I)Z
pop
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/font/CFontManager;
0 6 1 logicalName Ljava/lang/String;
0 6 2 realName Ljava/lang/String;
0 6 3 fallbackName Ljava/lang/String;
1 6 4 realFamily Lsun/font/FontFamily;
MethodParameters:
Name Flags
logicalName
realName
fallbackName
protected sun.font.FontFamily (java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lsun/font/FontFamily;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
aload 3
invokevirtual sun.font.CFontManager.getFontFamily:(Ljava/lang/String;Ljava/lang/String;)Lsun/font/FontFamily;
astore 4
start local 4 1: aload 4
ifnull 2
aload 4
areturn
2: StackMap locals: sun.font.FontFamily
StackMap stack:
aload 0
invokespecial sun.font.SunFontManager.loadFonts:()V
3: aload 0
aload 2
aload 3
invokevirtual sun.font.CFontManager.getFontFamily:(Ljava/lang/String;Ljava/lang/String;)Lsun/font/FontFamily;
astore 4
4: aload 4
ifnull 5
aload 4
areturn
5: StackMap locals:
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Warning: the fonts \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" and \""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" are not available for the Java logical font \""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\", which may have unexpected appearance or behavior. Re-enable the \""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" font to remove this warning."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/font/CFontManager;
0 7 1 logicalName Ljava/lang/String;
0 7 2 realName Ljava/lang/String;
0 7 3 fallbackName Ljava/lang/String;
1 7 4 family Lsun/font/FontFamily;
MethodParameters:
Name Flags
logicalName
realName
fallbackName
protected sun.font.FontFamily getFontFamily(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lsun/font/FontFamily;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic sun.font.FontFamily.getFamily:(Ljava/lang/String;)Lsun/font/FontFamily;
astore 3
start local 3 1: aload 3
ifnull 2
aload 3
areturn
2: StackMap locals: sun.font.FontFamily
StackMap stack:
aload 2
invokestatic sun.font.FontFamily.getFamily:(Ljava/lang/String;)Lsun/font/FontFamily;
astore 3
3: aload 3
ifnull 6
4: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Warning: the font \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" is not available, so \""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" has been substituted, but may have unexpected appearance or behavor. Re-enable the \""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" font to remove this warning."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: aload 3
areturn
6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/font/CFontManager;
0 7 1 realName Ljava/lang/String;
0 7 2 fallbackName Ljava/lang/String;
1 7 3 family Lsun/font/FontFamily;
MethodParameters:
Name Flags
realName
fallbackName
protected boolean cloneStyledFont(sun.font.FontFamily, java.lang.String, int);
descriptor: (Lsun/font/FontFamily;Ljava/lang/String;I)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
aload 1
iload 3
invokevirtual sun.font.FontFamily.getFontWithExactStyleMatch:(I)Lsun/font/Font2D;
astore 4
start local 4 2: aload 4
ifnull 3
aload 4
instanceof sun.font.CFont
ifne 4
StackMap locals: sun.font.Font2D
StackMap stack:
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
new sun.font.CFont
dup
aload 4
checkcast sun.font.CFont
aload 2
invokespecial sun.font.CFont.<init>:(Lsun/font/CFont;Ljava/lang/String;)V
astore 5
start local 5 5: aload 0
aload 5
iconst_1
invokevirtual sun.font.CFontManager.registerGenericFont:(Lsun/font/Font2D;Z)Lsun/font/Font2D;
pop
6: iconst_1
ireturn
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 7 0 this Lsun/font/CFontManager;
0 7 1 realFamily Lsun/font/FontFamily;
0 7 2 logicalFamilyName Ljava/lang/String;
0 7 3 style I
2 7 4 realFont Lsun/font/Font2D;
5 7 5 newFont Lsun/font/CFont;
MethodParameters:
Name Flags
realFamily
logicalFamilyName
style
public java.lang.String getFontPath(boolean);
descriptor: (Z)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
astore 2
start local 2 1: aload 2
instanceof sun.awt.HeadlessToolkit
ifeq 3
2: aload 2
checkcast sun.awt.HeadlessToolkit
invokevirtual sun.awt.HeadlessToolkit.getUnderlyingToolkit:()Ljava/awt/Toolkit;
astore 2
3: StackMap locals: java.awt.Toolkit
StackMap stack:
aload 2
instanceof sun.lwawt.macosx.LWCToolkit
ifeq 5
4: ldc ""
areturn
5: StackMap locals:
StackMap stack:
ldc "/Library/Fonts"
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/font/CFontManager;
0 6 1 noType1Fonts Z
1 6 2 tk Ljava/awt/Toolkit;
MethodParameters:
Name Flags
noType1Fonts
protected javax.swing.plaf.FontUIResource getFontConfigFUIR(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)Ljavax/swing/plaf/FontUIResource;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic sun.font.FontUtilities.mapFcName:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 1: aload 4
ifnonnull 3
2: ldc "sansserif"
astore 4
3: StackMap locals: java.lang.String
StackMap stack:
new javax.swing.plaf.FontUIResource
dup
aload 4
iload 2
iload 3
invokespecial javax.swing.plaf.FontUIResource.<init>:(Ljava/lang/String;II)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/font/CFontManager;
0 4 1 family Ljava/lang/String;
0 4 2 style I
0 4 3 size I
1 4 4 mappedName Ljava/lang/String;
MethodParameters:
Name Flags
family
style
size
protected void populateFontFileNameMap(java.util.HashMap<java.lang.String, java.lang.String>, java.util.HashMap<java.lang.String, java.lang.String>, java.util.HashMap<java.lang.String, java.util.ArrayList<java.lang.String>>, java.util.Locale);
descriptor: (Ljava/util/HashMap;Ljava/util/HashMap;Ljava/util/HashMap;Ljava/util/Locale;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/font/CFontManager;
0 1 1 fontToFileMap Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;
0 1 2 fontToFamilyNameMap Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;
0 1 3 familyToFontListMap Ljava/util/HashMap<Ljava/lang/String;Ljava/util/ArrayList<Ljava/lang/String;>;>;
0 1 4 locale Ljava/util/Locale;
Signature: (Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;Ljava/util/HashMap<Ljava/lang/String;Ljava/util/ArrayList<Ljava/lang/String;>;>;Ljava/util/Locale;)V
MethodParameters:
Name Flags
fontToFileMap
fontToFamilyNameMap
familyToFontListMap
locale
private java.lang.String[] lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/String;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual sun.font.CFontManager.getTrueTypeFilter:()Ljava/io/FilenameFilter;
invokevirtual java.io.File.list:(Ljava/io/FilenameFilter;)[Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/font/CFontManager;
}
SourceFile: "CFontManager.java"
NestMembers:
sun.font.CFontManager$1
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
sun.font.CFontManager$1