public class com.sun.javafx.font.PrismFontLoader extends com.sun.javafx.tk.FontLoader
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.javafx.font.PrismFontLoader
super_class: com.sun.javafx.tk.FontLoader
{
private static com.sun.javafx.font.PrismFontLoader theInstance;
descriptor: Lcom/sun/javafx/font/PrismFontLoader;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private boolean embeddedFontsLoaded;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
com.sun.javafx.font.FontFactory installedFontFactory;
descriptor: Lcom/sun/javafx/font/FontFactory;
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.sun.javafx.font.PrismFontLoader
dup
invokespecial com.sun.javafx.font.PrismFontLoader.<init>:()V
putstatic com.sun.javafx.font.PrismFontLoader.theInstance:Lcom/sun/javafx/font/PrismFontLoader;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.javafx.tk.FontLoader.<init>:()V
1: aload 0
iconst_0
putfield com.sun.javafx.font.PrismFontLoader.embeddedFontsLoaded:Z
2: aload 0
aconst_null
putfield com.sun.javafx.font.PrismFontLoader.installedFontFactory:Lcom/sun/javafx/font/FontFactory;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/font/PrismFontLoader;
public static com.sun.javafx.font.PrismFontLoader getInstance();
descriptor: ()Lcom/sun/javafx/font/PrismFontLoader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.javafx.font.PrismFontLoader.theInstance:Lcom/sun/javafx/font/PrismFontLoader;
areturn
LocalVariableTable:
Start End Slot Name Signature
java.util.Properties loadEmbeddedFontDefinitions();
descriptor: ()Ljava/util/Properties;
flags: (0x0000)
Code:
stack=2, locals=7, args_size=1
start local 0 0: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 1
start local 1 1: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 2
start local 2 2: aload 2
ifnonnull 3
aload 1
areturn
3: StackMap locals: java.util.Properties java.lang.ClassLoader
StackMap stack:
aload 2
ldc "META-INF/fonts.mf"
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 3
start local 3 4: aload 3
ifnonnull 5
aload 1
areturn
5: StackMap locals: java.net.URL
StackMap stack:
aconst_null
astore 4
aconst_null
astore 5
6: aload 3
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
astore 6
start local 6 7: aload 1
aload 6
invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
8: aload 6
ifnull 16
aload 6
invokevirtual java.io.InputStream.close:()V
goto 16
StackMap locals: com.sun.javafx.font.PrismFontLoader java.util.Properties java.lang.ClassLoader java.net.URL java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
9: astore 4
aload 6
ifnull 10
aload 6
invokevirtual java.io.InputStream.close:()V
end local 6 StackMap locals:
StackMap stack:
10: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 5
aload 4
ifnonnull 12
aload 5
astore 4
goto 13
StackMap locals:
StackMap stack:
12: aload 4
aload 5
if_acmpeq 13
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 4
athrow
StackMap locals: com.sun.javafx.font.PrismFontLoader java.util.Properties java.lang.ClassLoader java.net.URL
StackMap stack: java.lang.Exception
14: astore 4
start local 4 15: aload 4
invokevirtual java.lang.Exception.printStackTrace:()V
end local 4 16: StackMap locals:
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/javafx/font/PrismFontLoader;
1 17 1 map Ljava/util/Properties;
2 17 2 loader Ljava/lang/ClassLoader;
4 17 3 u Ljava/net/URL;
7 10 6 in Ljava/io/InputStream;
15 16 4 e Ljava/lang/Exception;
Exception table:
from to target type
7 8 9 any
6 11 11 any
5 14 14 Class java.lang.Exception
private void loadEmbeddedFonts();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.font.PrismFontLoader.embeddedFontsLoaded:Z
ifne 25
1: aload 0
invokevirtual com.sun.javafx.font.PrismFontLoader.getFontFactoryFromPipeline:()Lcom/sun/javafx/font/FontFactory;
astore 1
start local 1 2: aload 1
invokeinterface com.sun.javafx.font.FontFactory.hasPermission:()Z
ifne 5
3: aload 0
iconst_1
putfield com.sun.javafx.font.PrismFontLoader.embeddedFontsLoaded:Z
4: return
5: StackMap locals: com.sun.javafx.font.FontFactory
StackMap stack:
aload 0
invokevirtual com.sun.javafx.font.PrismFontLoader.loadEmbeddedFontDefinitions:()Ljava/util/Properties;
astore 2
start local 2 6: aload 2
invokevirtual java.util.Properties.keys:()Ljava/util/Enumeration;
astore 3
start local 3 7: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 4
start local 4 8: goto 23
9: StackMap locals: java.util.Properties java.util.Enumeration java.lang.ClassLoader
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 10: aload 2
aload 5
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 11: aload 6
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 23
12: aload 6
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 6
13: aconst_null
astore 7
aconst_null
astore 8
14: aload 4
aload 6
invokevirtual java.lang.ClassLoader.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 9
start local 9 15: aload 1
aload 5
aload 9
fconst_0
iconst_1
iconst_0
invokeinterface com.sun.javafx.font.FontFactory.loadEmbeddedFont:(Ljava/lang/String;Ljava/io/InputStream;FZZ)[Lcom/sun/javafx/font/PGFont;
pop
16: aload 9
ifnull 23
aload 9
invokevirtual java.io.InputStream.close:()V
goto 23
StackMap locals: com.sun.javafx.font.PrismFontLoader com.sun.javafx.font.FontFactory java.util.Properties java.util.Enumeration java.lang.ClassLoader java.lang.String java.lang.String java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
17: astore 7
aload 9
ifnull 18
aload 9
invokevirtual java.io.InputStream.close:()V
end local 9 StackMap locals:
StackMap stack:
18: aload 7
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
19: astore 8
aload 7
ifnonnull 20
aload 8
astore 7
goto 21
StackMap locals:
StackMap stack:
20: aload 7
aload 8
if_acmpeq 21
aload 7
aload 8
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
21: aload 7
athrow
StackMap locals: com.sun.javafx.font.PrismFontLoader com.sun.javafx.font.FontFactory java.util.Properties java.util.Enumeration java.lang.ClassLoader java.lang.String java.lang.String
StackMap stack: java.lang.Exception
22: pop
end local 6 end local 5 23: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 9
24: aload 0
iconst_1
putfield com.sun.javafx.font.PrismFontLoader.embeddedFontsLoaded:Z
end local 4 end local 3 end local 2 end local 1 25: StackMap locals: com.sun.javafx.font.PrismFontLoader
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lcom/sun/javafx/font/PrismFontLoader;
2 25 1 fontFactory Lcom/sun/javafx/font/FontFactory;
6 25 2 map Ljava/util/Properties;
7 25 3 names Ljava/util/Enumeration<*>;
8 25 4 loader Ljava/lang/ClassLoader;
10 23 5 n Ljava/lang/String;
11 23 6 p Ljava/lang/String;
15 18 9 in Ljava/io/InputStream;
Exception table:
from to target type
15 16 17 any
14 19 19 any
13 22 22 Class java.lang.Exception
private javafx.scene.text.Font[] createFonts(com.sun.javafx.font.PGFont[]);
descriptor: ([Lcom/sun/javafx/font/PGFont;)[Ljavafx/scene/text/Font;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
arraylength
ifne 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
arraylength
anewarray javafx.scene.text.Font
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 7
5: StackMap locals: javafx.scene.text.Font[] int
StackMap stack:
aload 2
iload 3
aload 0
aload 1
iload 3
aaload
invokevirtual com.sun.javafx.font.PrismFontLoader.createFont:(Lcom/sun/javafx/font/PGFont;)Ljavafx/scene/text/Font;
aastore
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 1
arraylength
if_icmplt 5
end local 3 8: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/javafx/font/PrismFontLoader;
0 9 1 fonts [Lcom/sun/javafx/font/PGFont;
3 9 2 fxFonts [Ljavafx/scene/text/Font;
4 8 3 i I
MethodParameters:
Name Flags
fonts
public javafx.scene.text.Font[] loadFont(java.io.InputStream, double, boolean);
descriptor: (Ljava/io/InputStream;DZ)[Ljavafx/scene/text/Font;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
invokevirtual com.sun.javafx.font.PrismFontLoader.getFontFactoryFromPipeline:()Lcom/sun/javafx/font/FontFactory;
astore 5
start local 5 1: aload 5
aconst_null
aload 1
dload 2
d2f
iconst_1
iload 4
invokeinterface com.sun.javafx.font.FontFactory.loadEmbeddedFont:(Ljava/lang/String;Ljava/io/InputStream;FZZ)[Lcom/sun/javafx/font/PGFont;
2: astore 6
start local 6 3: aload 0
aload 6
invokevirtual com.sun.javafx.font.PrismFontLoader.createFonts:([Lcom/sun/javafx/font/PGFont;)[Ljavafx/scene/text/Font;
areturn
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/font/PrismFontLoader;
0 4 1 in Ljava/io/InputStream;
0 4 2 size D
0 4 4 loadAll Z
1 4 5 factory Lcom/sun/javafx/font/FontFactory;
3 4 6 fonts [Lcom/sun/javafx/font/PGFont;
MethodParameters:
Name Flags
in
size
loadAll
public javafx.scene.text.Font[] loadFont(java.lang.String, double, boolean);
descriptor: (Ljava/lang/String;DZ)[Ljavafx/scene/text/Font;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
invokevirtual com.sun.javafx.font.PrismFontLoader.getFontFactoryFromPipeline:()Lcom/sun/javafx/font/FontFactory;
astore 5
start local 5 1: aload 5
aconst_null
aload 1
dload 2
d2f
iconst_1
iload 4
invokeinterface com.sun.javafx.font.FontFactory.loadEmbeddedFont:(Ljava/lang/String;Ljava/lang/String;FZZ)[Lcom/sun/javafx/font/PGFont;
2: astore 6
start local 6 3: aload 0
aload 6
invokevirtual com.sun.javafx.font.PrismFontLoader.createFonts:([Lcom/sun/javafx/font/PGFont;)[Ljavafx/scene/text/Font;
areturn
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/font/PrismFontLoader;
0 4 1 path Ljava/lang/String;
0 4 2 size D
0 4 4 loadAll Z
1 4 5 factory Lcom/sun/javafx/font/FontFactory;
3 4 6 fonts [Lcom/sun/javafx/font/PGFont;
MethodParameters:
Name Flags
path
size
loadAll
private javafx.scene.text.Font createFont(com.sun.javafx.font.PGFont);
descriptor: (Lcom/sun/javafx/font/PGFont;)Ljavafx/scene/text/Font;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
1: aload 1
invokeinterface com.sun.javafx.font.PGFont.getName:()Ljava/lang/String;
2: aload 1
invokeinterface com.sun.javafx.font.PGFont.getFamilyName:()Ljava/lang/String;
3: aload 1
invokeinterface com.sun.javafx.font.PGFont.getStyleName:()Ljava/lang/String;
4: aload 1
invokeinterface com.sun.javafx.font.PGFont.getSize:()F
f2d
5: invokestatic com.sun.javafx.scene.text.FontHelper.nativeFont:(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;D)Ljavafx/scene/text/Font;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/javafx/font/PrismFontLoader;
0 6 1 font Lcom/sun/javafx/font/PGFont;
MethodParameters:
Name Flags
font
public java.util.List<java.lang.String> getFamilies();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.javafx.font.PrismFontLoader.loadEmbeddedFonts:()V
1: aload 0
invokevirtual com.sun.javafx.font.PrismFontLoader.getFontFactoryFromPipeline:()Lcom/sun/javafx/font/FontFactory;
2: invokeinterface com.sun.javafx.font.FontFactory.getFontFamilyNames:()[Ljava/lang/String;
3: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/font/PrismFontLoader;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public java.util.List<java.lang.String> getFontNames();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.javafx.font.PrismFontLoader.loadEmbeddedFonts:()V
1: aload 0
invokevirtual com.sun.javafx.font.PrismFontLoader.getFontFactoryFromPipeline:()Lcom/sun/javafx/font/FontFactory;
invokeinterface com.sun.javafx.font.FontFactory.getFontFullNames:()[Ljava/lang/String;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/font/PrismFontLoader;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public java.util.List<java.lang.String> getFontNames(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.javafx.font.PrismFontLoader.loadEmbeddedFonts:()V
1: aload 0
invokevirtual com.sun.javafx.font.PrismFontLoader.getFontFactoryFromPipeline:()Lcom/sun/javafx/font/FontFactory;
2: aload 1
invokeinterface com.sun.javafx.font.FontFactory.getFontFullNames:(Ljava/lang/String;)[Ljava/lang/String;
3: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/font/PrismFontLoader;
0 4 1 family Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
family
public javafx.scene.text.Font font(java.lang.String, javafx.scene.text.FontWeight, javafx.scene.text.FontPosture, float);
descriptor: (Ljava/lang/String;Ljavafx/scene/text/FontWeight;Ljavafx/scene/text/FontPosture;F)Ljavafx/scene/text/Font;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual com.sun.javafx.font.PrismFontLoader.getFontFactoryFromPipeline:()Lcom/sun/javafx/font/FontFactory;
astore 5
start local 5 1: aload 0
getfield com.sun.javafx.font.PrismFontLoader.embeddedFontsLoaded:Z
ifne 3
aload 5
aload 1
invokeinterface com.sun.javafx.font.FontFactory.isPlatformFont:(Ljava/lang/String;)Z
ifne 3
2: aload 0
invokevirtual com.sun.javafx.font.PrismFontLoader.loadEmbeddedFonts:()V
3: StackMap locals: com.sun.javafx.font.FontFactory
StackMap stack:
aload 2
ifnull 6
4: aload 2
invokevirtual javafx.scene.text.FontWeight.ordinal:()I
getstatic javafx.scene.text.FontWeight.BOLD:Ljavafx/scene/text/FontWeight;
invokevirtual javafx.scene.text.FontWeight.ordinal:()I
5: if_icmplt 6
iconst_1
goto 7
StackMap locals:
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 6
start local 6 8: aload 3
getstatic javafx.scene.text.FontPosture.ITALIC:Ljavafx/scene/text/FontPosture;
if_acmpne 9
iconst_1
goto 10
StackMap locals: int
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: istore 7
start local 7 11: aload 5
aload 1
iload 6
iload 7
fload 4
invokeinterface com.sun.javafx.font.FontFactory.createFont:(Ljava/lang/String;ZZF)Lcom/sun/javafx/font/PGFont;
astore 8
start local 8 12: aload 8
aload 8
invokeinterface com.sun.javafx.font.PGFont.getName:()Ljava/lang/String;
13: aload 8
invokeinterface com.sun.javafx.font.PGFont.getFamilyName:()Ljava/lang/String;
14: aload 8
invokeinterface com.sun.javafx.font.PGFont.getStyleName:()Ljava/lang/String;
fload 4
f2d
15: invokestatic com.sun.javafx.scene.text.FontHelper.nativeFont:(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;D)Ljavafx/scene/text/Font;
astore 9
start local 9 16: aload 9
areturn
end local 9 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 17 0 this Lcom/sun/javafx/font/PrismFontLoader;
0 17 1 family Ljava/lang/String;
0 17 2 weight Ljavafx/scene/text/FontWeight;
0 17 3 posture Ljavafx/scene/text/FontPosture;
0 17 4 size F
1 17 5 fontFactory Lcom/sun/javafx/font/FontFactory;
8 17 6 bold Z
11 17 7 italic Z
12 17 8 prismFont Lcom/sun/javafx/font/PGFont;
16 17 9 fxFont Ljavafx/scene/text/Font;
MethodParameters:
Name Flags
family
weight
posture
size
public void loadFont(javafx.scene.text.Font);
descriptor: (Ljavafx/scene/text/Font;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.javafx.font.PrismFontLoader.getFontFactoryFromPipeline:()Lcom/sun/javafx/font/FontFactory;
astore 2
start local 2 1: aload 1
invokevirtual javafx.scene.text.Font.getName:()Ljava/lang/String;
astore 3
start local 3 2: aload 0
getfield com.sun.javafx.font.PrismFontLoader.embeddedFontsLoaded:Z
ifne 4
aload 2
aload 3
invokeinterface com.sun.javafx.font.FontFactory.isPlatformFont:(Ljava/lang/String;)Z
ifne 4
3: aload 0
invokevirtual com.sun.javafx.font.PrismFontLoader.loadEmbeddedFonts:()V
4: StackMap locals: com.sun.javafx.font.FontFactory java.lang.String
StackMap stack:
aload 2
aload 3
aload 1
invokevirtual javafx.scene.text.Font.getSize:()D
d2f
invokeinterface com.sun.javafx.font.FontFactory.createFont:(Ljava/lang/String;F)Lcom/sun/javafx/font/PGFont;
astore 4
start local 4 5: aload 4
invokeinterface com.sun.javafx.font.PGFont.getName:()Ljava/lang/String;
astore 5
start local 5 6: aload 4
invokeinterface com.sun.javafx.font.PGFont.getFamilyName:()Ljava/lang/String;
astore 6
start local 6 7: aload 4
invokeinterface com.sun.javafx.font.PGFont.getStyleName:()Ljava/lang/String;
astore 7
start local 7 8: aload 1
aload 4
aload 5
aload 6
aload 7
invokestatic com.sun.javafx.scene.text.FontHelper.setNativeFont:(Ljavafx/scene/text/Font;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
9: return
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 10 0 this Lcom/sun/javafx/font/PrismFontLoader;
0 10 1 font Ljavafx/scene/text/Font;
1 10 2 fontFactory Lcom/sun/javafx/font/FontFactory;
2 10 3 fullName Ljava/lang/String;
5 10 4 prismFont Lcom/sun/javafx/font/PGFont;
6 10 5 name Ljava/lang/String;
7 10 6 family Ljava/lang/String;
8 10 7 style Ljava/lang/String;
MethodParameters:
Name Flags
font
public com.sun.javafx.tk.FontMetrics getFontMetrics(javafx.scene.text.Font);
descriptor: (Ljavafx/scene/text/Font;)Lcom/sun/javafx/tk/FontMetrics;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=2
start local 0 start local 1 0: aload 1
ifnull 10
1: aload 1
invokestatic com.sun.javafx.scene.text.FontHelper.getNativeFont:(Ljavafx/scene/text/Font;)Ljava/lang/Object;
checkcast com.sun.javafx.font.PGFont
astore 2
start local 2 2: aload 2
invokestatic com.sun.javafx.font.PrismFontUtils.getFontMetrics:(Lcom/sun/javafx/font/PGFont;)Lcom/sun/javafx/font/Metrics;
astore 3
start local 3 3: aload 3
invokeinterface com.sun.javafx.font.Metrics.getAscent:()F
fneg
fstore 4
start local 4 4: aload 3
invokeinterface com.sun.javafx.font.Metrics.getAscent:()F
fneg
fstore 5
start local 5 5: aload 3
invokeinterface com.sun.javafx.font.Metrics.getXHeight:()F
fstore 6
start local 6 6: aload 3
invokeinterface com.sun.javafx.font.Metrics.getDescent:()F
fstore 7
start local 7 7: aload 3
invokeinterface com.sun.javafx.font.Metrics.getDescent:()F
fstore 8
start local 8 8: aload 3
invokeinterface com.sun.javafx.font.Metrics.getLineGap:()F
fstore 9
start local 9 9: fload 4
fload 5
fload 6
fload 7
fload 8
fload 9
aload 1
invokestatic com.sun.javafx.tk.FontMetrics.createFontMetrics:(FFFFFFLjavafx/scene/text/Font;)Lcom/sun/javafx/tk/FontMetrics;
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 10: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/javafx/font/PrismFontLoader;
0 11 1 font Ljavafx/scene/text/Font;
2 10 2 prismFont Lcom/sun/javafx/font/PGFont;
3 10 3 metrics Lcom/sun/javafx/font/Metrics;
4 10 4 maxAscent F
5 10 5 ascent F
6 10 6 xheight F
7 10 7 descent F
8 10 8 maxDescent F
9 10 9 leading F
MethodParameters:
Name Flags
font
public float getCharWidth(char, javafx.scene.text.Font);
descriptor: (CLjavafx/scene/text/Font;)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic com.sun.javafx.scene.text.FontHelper.getNativeFont:(Ljavafx/scene/text/Font;)Ljava/lang/Object;
checkcast com.sun.javafx.font.PGFont
astore 3
start local 3 1: aload 3
iload 1
invokestatic com.sun.javafx.font.PrismFontUtils.getCharWidth:(Lcom/sun/javafx/font/PGFont;C)D
d2f
freturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/font/PrismFontLoader;
0 2 1 ch C
0 2 2 font Ljavafx/scene/text/Font;
1 2 3 prismFont Lcom/sun/javafx/font/PGFont;
MethodParameters:
Name Flags
ch
font
public float getSystemFontSize();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic com.sun.javafx.font.PrismFontFactory.getSystemFontSize:()F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/font/PrismFontLoader;
private com.sun.javafx.font.FontFactory getFontFactoryFromPipeline();
descriptor: ()Lcom/sun/javafx/font/FontFactory;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.font.PrismFontLoader.installedFontFactory:Lcom/sun/javafx/font/FontFactory;
ifnull 2
1: aload 0
getfield com.sun.javafx.font.PrismFontLoader.installedFontFactory:Lcom/sun/javafx/font/FontFactory;
areturn
2: StackMap locals:
StackMap stack:
ldc "com.sun.prism.GraphicsPipeline"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 1
start local 1 3: aload 1
ldc "getPipeline"
aconst_null
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 2
start local 2 4: aload 2
aconst_null
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 5: aload 1
ldc "getFontFactory"
aconst_null
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 4
start local 4 6: aload 4
aload 3
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 7: aload 0
aload 5
checkcast com.sun.javafx.font.FontFactory
putfield com.sun.javafx.font.PrismFontLoader.installedFontFactory:Lcom/sun/javafx/font/FontFactory;
end local 5 end local 4 end local 3 end local 2 end local 1 8: goto 10
StackMap locals:
StackMap stack: java.lang.Exception
9: pop
10: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.font.PrismFontLoader.installedFontFactory:Lcom/sun/javafx/font/FontFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/javafx/font/PrismFontLoader;
3 8 1 plc Ljava/lang/Class;
4 8 2 gpm Ljava/lang/reflect/Method;
5 8 3 plo Ljava/lang/Object;
6 8 4 gfm Ljava/lang/reflect/Method;
7 8 5 ffo Ljava/lang/Object;
Exception table:
from to target type
2 8 9 Class java.lang.Exception
}
SourceFile: "PrismFontLoader.java"