class com.sun.javafx.font.coretext.CTFontFile extends com.sun.javafx.font.PrismFontFile
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.javafx.font.coretext.CTFontFile
super_class: com.sun.javafx.font.PrismFontFile
{
private final long cgFontRef;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final com.sun.javafx.font.coretext.CGAffineTransform tx;
descriptor: Lcom/sun/javafx/font/coretext/CGAffineTransform;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.sun.javafx.font.coretext.CGAffineTransform
dup
invokespecial com.sun.javafx.font.coretext.CGAffineTransform.<init>:()V
putstatic com.sun.javafx.font.coretext.CTFontFile.tx:Lcom/sun/javafx/font/coretext/CGAffineTransform;
1: getstatic com.sun.javafx.font.coretext.CTFontFile.tx:Lcom/sun/javafx/font/coretext/CGAffineTransform;
dconst_1
putfield com.sun.javafx.font.coretext.CGAffineTransform.a:D
2: getstatic com.sun.javafx.font.coretext.CTFontFile.tx:Lcom/sun/javafx/font/coretext/CGAffineTransform;
ldc -1.0
putfield com.sun.javafx.font.coretext.CGAffineTransform.d:D
3: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.String, java.lang.String, int, boolean, boolean, boolean, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;IZZZZ)V
flags: (0x0000)
Code:
stack=8, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 1
aload 2
iload 3
iload 4
iload 5
iload 6
iload 7
invokespecial com.sun.javafx.font.PrismFontFile.<init>:(Ljava/lang/String;Ljava/lang/String;IZZZZ)V
1: iload 5
ifeq 5
2: aload 0
aload 0
invokevirtual com.sun.javafx.font.coretext.CTFontFile.createCGFontForEmbeddedFont:()J
putfield com.sun.javafx.font.coretext.CTFontFile.cgFontRef:J
3: aload 0
new com.sun.javafx.font.coretext.CTFontFile$SelfDisposerRecord
dup
aload 0
getfield com.sun.javafx.font.coretext.CTFontFile.cgFontRef:J
invokespecial com.sun.javafx.font.coretext.CTFontFile$SelfDisposerRecord.<init>:(J)V
invokestatic com.sun.javafx.font.Disposer.addRecord:(Ljava/lang/Object;Lcom/sun/javafx/font/DisposerRecord;)Ljava/lang/ref/WeakReference;
pop
4: goto 6
5: StackMap locals: com.sun.javafx.font.coretext.CTFontFile java.lang.String java.lang.String int int int int int
StackMap stack:
aload 0
lconst_0
putfield com.sun.javafx.font.coretext.CTFontFile.cgFontRef:J
6: StackMap locals:
StackMap stack:
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 7 0 this Lcom/sun/javafx/font/coretext/CTFontFile;
0 7 1 name Ljava/lang/String;
0 7 2 filename Ljava/lang/String;
0 7 3 fIndex I
0 7 4 register Z
0 7 5 embedded Z
0 7 6 copy Z
0 7 7 tracked Z
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
name
filename
fIndex
register
embedded
copy
tracked
public static boolean registerFont(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=10, args_size=1
start local 0 0: aload 0
ifnonnull 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
invokestatic com.sun.javafx.font.coretext.OS.kCFAllocatorDefault:()J
lstore 1
start local 1 2: iconst_0
istore 3
start local 3 3: aload 0
invokestatic com.sun.javafx.font.coretext.OS.CFStringCreate:(Ljava/lang/String;)J
lstore 4
start local 4 4: lload 4
lconst_0
lcmp
ifeq 12
5: iconst_0
istore 6
start local 6 6: lload 1
lload 4
iload 6
i2l
iconst_0
invokestatic com.sun.javafx.font.coretext.OS.CFURLCreateWithFileSystemPath:(JJJZ)J
lstore 7
start local 7 7: lload 7
lconst_0
lcmp
ifeq 11
8: iconst_1
istore 9
start local 9 9: lload 7
iload 9
lconst_0
invokestatic com.sun.javafx.font.coretext.OS.CTFontManagerRegisterFontsForURL:(JIJ)Z
istore 3
10: lload 7
invokestatic com.sun.javafx.font.coretext.OS.CFRelease:(J)V
end local 9 11: StackMap locals: java.lang.String long int long int long
StackMap stack:
lload 4
invokestatic com.sun.javafx.font.coretext.OS.CFRelease:(J)V
end local 7 end local 6 12: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 fontfile Ljava/lang/String;
2 13 1 alloc J
3 13 3 result Z
4 13 4 fileRef J
6 12 6 pathStyle I
7 12 7 urlRef J
9 11 9 scope I
MethodParameters:
Name Flags
fontfile
private long createCGFontForEmbeddedFont();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=9, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
invokevirtual com.sun.javafx.font.coretext.CTFontFile.getFileName:()Ljava/lang/String;
invokestatic com.sun.javafx.font.coretext.OS.CFStringCreate:(Ljava/lang/String;)J
lstore 3
start local 3 2: lload 3
lconst_0
lcmp
ifeq 13
3: invokestatic com.sun.javafx.font.coretext.OS.kCFAllocatorDefault:()J
lload 3
4: lconst_0
iconst_0
5: invokestatic com.sun.javafx.font.coretext.OS.CFURLCreateWithFileSystemPath:(JJJZ)J
lstore 5
start local 5 6: lload 5
lconst_0
lcmp
ifeq 12
7: lload 5
invokestatic com.sun.javafx.font.coretext.OS.CGDataProviderCreateWithURL:(J)J
lstore 7
start local 7 8: lload 7
lconst_0
lcmp
ifeq 11
9: lload 7
invokestatic com.sun.javafx.font.coretext.OS.CGFontCreateWithDataProvider:(J)J
lstore 1
10: lload 7
invokestatic com.sun.javafx.font.coretext.OS.CFRelease:(J)V
11: StackMap locals: com.sun.javafx.font.coretext.CTFontFile long long long long
StackMap stack:
lload 5
invokestatic com.sun.javafx.font.coretext.OS.CFRelease:(J)V
end local 7 12: StackMap locals:
StackMap stack:
lload 3
invokestatic com.sun.javafx.font.coretext.OS.CFRelease:(J)V
end local 5 13: StackMap locals:
StackMap stack:
lload 1
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/javafx/font/coretext/CTFontFile;
1 14 1 cgFontRef J
2 14 3 fileNameRef J
6 13 5 url J
8 12 7 dataProvider J
long getCGFontRef();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.font.coretext.CTFontFile.cgFontRef:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/font/coretext/CTFontFile;
com.sun.javafx.font.coretext.CGRect getBBox(int, float);
descriptor: (IF)Lcom/sun/javafx/font/coretext/CGRect;
flags: (0x0000)
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
fload 2
getstatic com.sun.javafx.geom.transform.BaseTransform.IDENTITY_TRANSFORM:Lcom/sun/javafx/geom/transform/BaseTransform;
invokevirtual com.sun.javafx.font.coretext.CTFontFile.getStrike:(FLcom/sun/javafx/geom/transform/BaseTransform;)Lcom/sun/javafx/font/FontStrike;
checkcast com.sun.javafx.font.coretext.CTFontStrike
astore 3
start local 3 1: aload 3
invokevirtual com.sun.javafx.font.coretext.CTFontStrike.getFontRef:()J
lstore 4
start local 4 2: lload 4
lconst_0
lcmp
ifne 3
aconst_null
areturn
3: StackMap locals: com.sun.javafx.font.coretext.CTFontStrike long
StackMap stack:
lload 4
iload 1
i2s
getstatic com.sun.javafx.font.coretext.CTFontFile.tx:Lcom/sun/javafx/font/coretext/CGAffineTransform;
invokestatic com.sun.javafx.font.coretext.OS.CTFontCreatePathForGlyph:(JSLcom/sun/javafx/font/coretext/CGAffineTransform;)J
lstore 6
start local 6 4: lload 6
lconst_0
lcmp
ifne 5
aconst_null
areturn
5: StackMap locals: long
StackMap stack:
lload 6
invokestatic com.sun.javafx.font.coretext.OS.CGPathGetPathBoundingBox:(J)Lcom/sun/javafx/font/coretext/CGRect;
astore 8
start local 8 6: lload 6
invokestatic com.sun.javafx.font.coretext.OS.CGPathRelease:(J)V
7: aload 8
areturn
end local 8 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/javafx/font/coretext/CTFontFile;
0 8 1 gc I
0 8 2 size F
1 8 3 strike Lcom/sun/javafx/font/coretext/CTFontStrike;
2 8 4 fontRef J
4 8 6 pathRef J
6 8 8 rect Lcom/sun/javafx/font/coretext/CGRect;
MethodParameters:
Name Flags
gc
size
com.sun.javafx.geom.Path2D getGlyphOutline(int, float);
descriptor: (IF)Lcom/sun/javafx/geom/Path2D;
flags: (0x0000)
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
fload 2
getstatic com.sun.javafx.geom.transform.BaseTransform.IDENTITY_TRANSFORM:Lcom/sun/javafx/geom/transform/BaseTransform;
invokevirtual com.sun.javafx.font.coretext.CTFontFile.getStrike:(FLcom/sun/javafx/geom/transform/BaseTransform;)Lcom/sun/javafx/font/FontStrike;
checkcast com.sun.javafx.font.coretext.CTFontStrike
astore 3
start local 3 1: aload 3
invokevirtual com.sun.javafx.font.coretext.CTFontStrike.getFontRef:()J
lstore 4
start local 4 2: lload 4
lconst_0
lcmp
ifne 3
aconst_null
areturn
3: StackMap locals: com.sun.javafx.font.coretext.CTFontStrike long
StackMap stack:
lload 4
iload 1
i2s
getstatic com.sun.javafx.font.coretext.CTFontFile.tx:Lcom/sun/javafx/font/coretext/CGAffineTransform;
invokestatic com.sun.javafx.font.coretext.OS.CTFontCreatePathForGlyph:(JSLcom/sun/javafx/font/coretext/CGAffineTransform;)J
lstore 6
start local 6 4: lload 6
lconst_0
lcmp
ifne 5
aconst_null
areturn
5: StackMap locals: long
StackMap stack:
lload 6
invokestatic com.sun.javafx.font.coretext.OS.CGPathApply:(J)Lcom/sun/javafx/geom/Path2D;
astore 8
start local 8 6: lload 6
invokestatic com.sun.javafx.font.coretext.OS.CGPathRelease:(J)V
7: aload 8
areturn
end local 8 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/javafx/font/coretext/CTFontFile;
0 8 1 gc I
0 8 2 size F
1 8 3 strike Lcom/sun/javafx/font/coretext/CTFontStrike;
2 8 4 fontRef J
4 8 6 pathRef J
6 8 8 path Lcom/sun/javafx/geom/Path2D;
MethodParameters:
Name Flags
gc
size
protected int[] createGlyphBoundingBox(int);
descriptor: (I)[I
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=11, args_size=2
start local 0 start local 1 0: ldc 12.0
fstore 2
start local 2 1: aload 0
fload 2
2: getstatic com.sun.javafx.geom.transform.BaseTransform.IDENTITY_TRANSFORM:Lcom/sun/javafx/geom/transform/BaseTransform;
3: invokevirtual com.sun.javafx.font.coretext.CTFontFile.getStrike:(FLcom/sun/javafx/geom/transform/BaseTransform;)Lcom/sun/javafx/font/FontStrike;
checkcast com.sun.javafx.font.coretext.CTFontStrike
astore 3
start local 3 4: aload 3
invokevirtual com.sun.javafx.font.coretext.CTFontStrike.getFontRef:()J
lstore 4
start local 4 5: lload 4
lconst_0
lcmp
ifne 6
aconst_null
areturn
6: StackMap locals: float com.sun.javafx.font.coretext.CTFontStrike long
StackMap stack:
iconst_4
newarray 10
astore 6
start local 6 7: aload 0
invokevirtual com.sun.javafx.font.coretext.CTFontFile.isCFF:()Z
ifne 11
8: aload 0
invokevirtual com.sun.javafx.font.coretext.CTFontFile.getIndexToLocFormat:()S
istore 7
start local 7 9: lload 4
iload 1
i2s
iload 7
aload 6
invokestatic com.sun.javafx.font.coretext.OS.CTFontGetBoundingRectForGlyphUsingTables:(JSS[I)Z
ifeq 11
10: aload 6
areturn
end local 7 11: StackMap locals: int[]
StackMap stack:
lload 4
iload 1
i2s
aconst_null
invokestatic com.sun.javafx.font.coretext.OS.CTFontCreatePathForGlyph:(JSLcom/sun/javafx/font/coretext/CGAffineTransform;)J
lstore 7
start local 7 12: lload 7
lconst_0
lcmp
ifne 13
aconst_null
areturn
13: StackMap locals: long
StackMap stack:
lload 7
invokestatic com.sun.javafx.font.coretext.OS.CGPathGetPathBoundingBox:(J)Lcom/sun/javafx/font/coretext/CGRect;
astore 9
start local 9 14: lload 7
invokestatic com.sun.javafx.font.coretext.OS.CGPathRelease:(J)V
15: aload 0
invokevirtual com.sun.javafx.font.coretext.CTFontFile.getUnitsPerEm:()I
i2f
fload 2
fdiv
fstore 10
start local 10 16: aload 6
iconst_0
aload 9
getfield com.sun.javafx.font.coretext.CGRect.origin:Lcom/sun/javafx/font/coretext/CGPoint;
getfield com.sun.javafx.font.coretext.CGPoint.x:D
fload 10
f2d
dmul
invokestatic java.lang.Math.round:(D)J
l2i
iastore
17: aload 6
iconst_1
aload 9
getfield com.sun.javafx.font.coretext.CGRect.origin:Lcom/sun/javafx/font/coretext/CGPoint;
getfield com.sun.javafx.font.coretext.CGPoint.y:D
fload 10
f2d
dmul
invokestatic java.lang.Math.round:(D)J
l2i
iastore
18: aload 6
iconst_2
aload 9
getfield com.sun.javafx.font.coretext.CGRect.origin:Lcom/sun/javafx/font/coretext/CGPoint;
getfield com.sun.javafx.font.coretext.CGPoint.x:D
aload 9
getfield com.sun.javafx.font.coretext.CGRect.size:Lcom/sun/javafx/font/coretext/CGSize;
getfield com.sun.javafx.font.coretext.CGSize.width:D
dadd
fload 10
f2d
dmul
invokestatic java.lang.Math.round:(D)J
l2i
iastore
19: aload 6
iconst_3
aload 9
getfield com.sun.javafx.font.coretext.CGRect.origin:Lcom/sun/javafx/font/coretext/CGPoint;
getfield com.sun.javafx.font.coretext.CGPoint.y:D
aload 9
getfield com.sun.javafx.font.coretext.CGRect.size:Lcom/sun/javafx/font/coretext/CGSize;
getfield com.sun.javafx.font.coretext.CGSize.height:D
dadd
fload 10
f2d
dmul
invokestatic java.lang.Math.round:(D)J
l2i
iastore
20: aload 6
areturn
end local 10 end local 9 end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/sun/javafx/font/coretext/CTFontFile;
0 21 1 gc I
1 21 2 size F
4 21 3 strike Lcom/sun/javafx/font/coretext/CTFontStrike;
5 21 4 fontRef J
7 21 6 bb [I
9 11 7 format S
12 21 7 pathRef J
14 21 9 rect Lcom/sun/javafx/font/coretext/CGRect;
16 21 10 scale F
MethodParameters:
Name Flags
gc
protected com.sun.javafx.font.PrismFontStrike<com.sun.javafx.font.coretext.CTFontFile> createStrike(float, com.sun.javafx.geom.transform.BaseTransform, int, com.sun.javafx.font.FontStrikeDesc);
descriptor: (FLcom/sun/javafx/geom/transform/BaseTransform;ILcom/sun/javafx/font/FontStrikeDesc;)Lcom/sun/javafx/font/PrismFontStrike;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new com.sun.javafx.font.coretext.CTFontStrike
dup
aload 0
fload 1
aload 2
iload 3
aload 4
invokespecial com.sun.javafx.font.coretext.CTFontStrike.<init>:(Lcom/sun/javafx/font/coretext/CTFontFile;FLcom/sun/javafx/geom/transform/BaseTransform;ILcom/sun/javafx/font/FontStrikeDesc;)V
areturn
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 Lcom/sun/javafx/font/coretext/CTFontFile;
0 1 1 size F
0 1 2 transform Lcom/sun/javafx/geom/transform/BaseTransform;
0 1 3 aaMode I
0 1 4 desc Lcom/sun/javafx/font/FontStrikeDesc;
Signature: (FLcom/sun/javafx/geom/transform/BaseTransform;ILcom/sun/javafx/font/FontStrikeDesc;)Lcom/sun/javafx/font/PrismFontStrike<Lcom/sun/javafx/font/coretext/CTFontFile;>;
MethodParameters:
Name Flags
size
transform
aaMode
desc
}
SourceFile: "CTFontFile.java"
NestMembers:
com.sun.javafx.font.coretext.CTFontFile$SelfDisposerRecord
InnerClasses:
private SelfDisposerRecord = com.sun.javafx.font.coretext.CTFontFile$SelfDisposerRecord of com.sun.javafx.font.coretext.CTFontFile