Top Inners Fields Constructors Methods
com.sun.javafx.font.coretext

pack-priv Class CTFontFile

extends PrismFontFile
Class Inheritance
Imports
java.lang.ref.Reference, com.sun.javafx.font.Disposer, .DisposerRecord, .FontFallbackInfo, .FontStrikeDesc, .MacFontFinder, .PrismFontFactory, .PrismFontFile, .PrismFontStrike, com.sun.javafx.geom.Path2D, com.sun.javafx.geom.transform.BaseTransform

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private long
private long
private static final CGAffineTransform
Inherited from com.sun.javafx.font.PrismFontFile:
FAMILY_NAME_IDFULL_NAME_IDfullNameMAC_PLATFORM_IDMACROMAN_ENGLISH_LANGMACROMAN_SPECIFIC_IDMS_ENGLISH_LOCALE_IDMS_PLATFORM_IDPS_NAME_IDSTYLE_NAME_IDUNICODE_PLATFORM_ID

Constructor Summary

AccessConstructor and Description
pack-priv
CTFontFile(String name, String filename, int fIndex, long fontRef)

pack-priv
CTFontFile(String name, String filename, int fIndex, boolean register, boolean embedded, boolean copy)

Method Summary

Modifier and TypeMethod and Description
private long
protected int[]
protected PrismFontStrike<CTFontFile>
createStrike(float size, BaseTransform transform, int aaMode, FontStrikeDesc desc)

Implements abstract com.sun.javafx.font.PrismFontFile.createStrike.

protected float
pack-priv CGRect
getBBox(int gc, float size)

pack-priv void
pack-priv long
pack-priv long
getFontRef(float size, CGAffineTransform matrix)

pack-priv Path2D
getGlyphOutline(int gc, float size)

public boolean
public static boolean
registerFont(String fontfile)

Inherited from com.sun.javafx.font.PrismFontFile:
disposeOnShutdownequalsgetAdvancegetDefaultAAModegetFamilyNamegetFeaturesgetFileNamegetFileSizegetFontCountgetFontIndexgetFontMetricsgetFullNamegetGlyphBoundingBoxgetGlyphMappergetIndexToLocFormatgetLocaleFamilyNamegetLocaleFullNamegetLocaleStyleNamegetNumHMetricsgetPeergetPSNamegetStrikegetStrikegetStrikeMapgetStyleNamegetUnitsPerEmhashCodeisCFFisColorGlyphisDecodedisEmbeddedFontisItalicisRegisteredsetPeer

Field Detail

cgFontRefback to summary
private long cgFontRef
ctFontRefback to summary
private long ctFontRef
txback to summary
private static final CGAffineTransform tx

Constructor Detail

CTFontFileback to summary
pack-priv CTFontFile(String name, String filename, int fIndex, long fontRef) throws Exception
CTFontFileback to summary
pack-priv CTFontFile(String name, String filename, int fIndex, boolean register, boolean embedded, boolean copy) throws Exception

Method Detail

createCGFontForEmbeddedFontback to summary
private long createCGFontForEmbeddedFont()
createGlyphBoundingBoxback to summary
protected int[] createGlyphBoundingBox(int gc)

Implements abstract com.sun.javafx.font.PrismFontFile.createGlyphBoundingBox.

Annotations
@Override
createStrikeback to summary
protected PrismFontStrike<CTFontFile> createStrike(float size, BaseTransform transform, int aaMode, FontStrikeDesc desc)

Implements abstract com.sun.javafx.font.PrismFontFile.createStrike.

Annotations
@Override
getAdvanceFromPlatformback to summary
protected float getAdvanceFromPlatform(int glyphCode, float ptSize)

Overrides com.sun.javafx.font.PrismFontFile.getAdvanceFromPlatform.

Annotations
@Override
getBBoxback to summary
pack-priv CGRect getBBox(int gc, float size)
getCascadingInfoback to summary
pack-priv void getCascadingInfo(FontFallbackInfo info)
getCGFontRefback to summary
pack-priv long getCGFontRef()
getFontRefback to summary
pack-priv long getFontRef(float size, CGAffineTransform matrix)
getGlyphOutlineback to summary
pack-priv Path2D getGlyphOutline(int gc, float size)
isBoldback to summary
public boolean isBold()

Overrides com.sun.javafx.font.PrismFontFile.isBold.

Implements com.sun.javafx.font.FontResource.isBold.

Annotations
@Override
registerFontback to summary
public static boolean registerFont(String fontfile)
com.sun.javafx.font.coretext back to summary

private Class CTFontFile.SelfDisposerRecord

extends Object
implements DisposerRecord
Class Inheritance
All Implemented Interfaces
com.sun.javafx.font.DisposerRecord

Field Summary

Modifier and TypeField and Description
private long

Constructor Summary

AccessConstructor and Description
pack-priv
SelfDisposerRecord(long fontRef)

Method Summary

Modifier and TypeMethod and Description
public synchronized void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fontRefback to summary
private long fontRef

Constructor Detail

SelfDisposerRecordback to summary
pack-priv SelfDisposerRecord(long fontRef)

Method Detail

disposeback to summary
public synchronized void dispose()

Implements com.sun.javafx.font.DisposerRecord.dispose.

Annotations
@Override