final class com.sun.javafx.webkit.prism.WCFontCustomPlatformDataImpl extends com.sun.webkit.graphics.WCFontCustomPlatformData
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.javafx.webkit.prism.WCFontCustomPlatformDataImpl
super_class: com.sun.webkit.graphics.WCFontCustomPlatformData
{
private final com.sun.javafx.font.PGFont font;
descriptor: Lcom/sun/javafx/font/PGFont;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0000)
Code:
stack=6, locals=4, args_size=2
start local 0 // com.sun.javafx.webkit.prism.WCFontCustomPlatformDataImpl this
start local 1 // java.io.InputStream inputStream
0: .line 41
aload 0 /* this */
invokespecial com.sun.webkit.graphics.WCFontCustomPlatformData.<init>:()V
1: .line 42
invokestatic com.sun.prism.GraphicsPipeline.getPipeline:()Lcom/sun/prism/GraphicsPipeline;
invokevirtual com.sun.prism.GraphicsPipeline.getFontFactory:()Lcom/sun/javafx/font/FontFactory;
astore 2 /* factory */
start local 2 // com.sun.javafx.font.FontFactory factory
2: .line 43
aload 2 /* factory */
aconst_null
aload 1 /* inputStream */
3: .line 44
ldc 10.0
iconst_0
iconst_0
4: .line 43
invokeinterface com.sun.javafx.font.FontFactory.loadEmbeddedFont:(Ljava/lang/String;Ljava/io/InputStream;FZZ)[Lcom/sun/javafx/font/PGFont;
astore 3 /* fa */
start local 3 // com.sun.javafx.font.PGFont[] fa
5: .line 45
aload 3 /* fa */
ifnonnull 7
6: .line 46
new java.io.IOException
dup
ldc "Error loading font"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
7: .line 48
StackMap locals: com.sun.javafx.webkit.prism.WCFontCustomPlatformDataImpl java.io.InputStream com.sun.javafx.font.FontFactory com.sun.javafx.font.PGFont[]
StackMap stack:
aload 0 /* this */
aload 3 /* fa */
iconst_0
aaload
putfield com.sun.javafx.webkit.prism.WCFontCustomPlatformDataImpl.font:Lcom/sun/javafx/font/PGFont;
8: .line 49
return
end local 3 // com.sun.javafx.font.PGFont[] fa
end local 2 // com.sun.javafx.font.FontFactory factory
end local 1 // java.io.InputStream inputStream
end local 0 // com.sun.javafx.webkit.prism.WCFontCustomPlatformDataImpl this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/javafx/webkit/prism/WCFontCustomPlatformDataImpl;
0 9 1 inputStream Ljava/io/InputStream;
2 9 2 factory Lcom/sun/javafx/font/FontFactory;
5 9 3 fa [Lcom/sun/javafx/font/PGFont;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
inputStream
protected com.sun.webkit.graphics.WCFont createFont(int, boolean, boolean);
descriptor: (IZZ)Lcom/sun/webkit/graphics/WCFont;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=5, args_size=4
start local 0 // com.sun.javafx.webkit.prism.WCFontCustomPlatformDataImpl this
start local 1 // int size
start local 2 // boolean bold
start local 3 // boolean italic
0: .line 54
invokestatic com.sun.prism.GraphicsPipeline.getPipeline:()Lcom/sun/prism/GraphicsPipeline;
invokevirtual com.sun.prism.GraphicsPipeline.getFontFactory:()Lcom/sun/javafx/font/FontFactory;
astore 4 /* factory */
start local 4 // com.sun.javafx.font.FontFactory factory
1: .line 55
new com.sun.javafx.webkit.prism.WCFontImpl
dup
aload 4 /* factory */
aload 0 /* this */
getfield com.sun.javafx.webkit.prism.WCFontCustomPlatformDataImpl.font:Lcom/sun/javafx/font/PGFont;
iload 2 /* bold */
iload 3 /* italic */
iload 1 /* size */
i2f
invokeinterface com.sun.javafx.font.FontFactory.deriveFont:(Lcom/sun/javafx/font/PGFont;ZZF)Lcom/sun/javafx/font/PGFont;
invokespecial com.sun.javafx.webkit.prism.WCFontImpl.<init>:(Lcom/sun/javafx/font/PGFont;)V
areturn
end local 4 // com.sun.javafx.font.FontFactory factory
end local 3 // boolean italic
end local 2 // boolean bold
end local 1 // int size
end local 0 // com.sun.javafx.webkit.prism.WCFontCustomPlatformDataImpl this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/webkit/prism/WCFontCustomPlatformDataImpl;
0 2 1 size I
0 2 2 bold Z
0 2 3 italic Z
1 2 4 factory Lcom/sun/javafx/font/FontFactory;
MethodParameters:
Name Flags
size
bold
italic
}
SourceFile: "WCFontCustomPlatformDataImpl.java"