class CTFontFile extends PrismFontFile
| Modifier and Type | Class and Description |
|---|---|
private static class |
CTFontFile.SelfDisposerRecord |
| Modifier and Type | Field and Description |
|---|---|
private long |
cgFontRef |
private static CGAffineTransform |
tx |
FAMILY_NAME_ID, FULL_NAME_ID, MAC_PLATFORM_ID, MACROMAN_ENGLISH_LANG, MACROMAN_SPECIFIC_ID, MS_ENGLISH_LOCALE_ID, MS_PLATFORM_ID, PS_NAME_ID, STYLE_NAME_IDAA_GREYSCALE, AA_LCD, AFRC, CLIG, CSWH, DLIG, FRAC, HLIG, KERN, LIGA, LIGATURES, NALT, RLIG, RUBY, SALT, SMCP, SS01, SS02, SS03, SS04, SS05, SS06, SS07, SWSH, ZEROcmapTag, DIRECTORYENTRYSIZE, DIRECTORYHEADERSIZE, headTag, hheaTag, hmtxTag, maxpTag, nameTag, os_2Tag, ottoTag, postTag, trueTag, ttcfTag, TTCHEADERSIZE, v1ttTag, WOFFDIRECTORYENTRYSIZE, WOFFHEADERSIZE, woffTag| Constructor and Description |
|---|
CTFontFile(java.lang.String name,
java.lang.String filename,
int fIndex,
boolean register,
boolean embedded,
boolean copy,
boolean tracked) |
| Modifier and Type | Method and Description |
|---|---|
private long |
createCGFontForEmbeddedFont() |
protected int[] |
createGlyphBoundingBox(int gc) |
protected PrismFontStrike<CTFontFile> |
createStrike(float size,
BaseTransform transform,
int aaMode,
FontStrikeDesc desc) |
(package private) CGRect |
getBBox(int gc,
float size) |
(package private) long |
getCGFontRef() |
(package private) Path2D |
getGlyphOutline(int gc,
float size) |
static boolean |
registerFont(java.lang.String fontfile) |
disposeOnShutdown, equals, getAdvance, getDefaultAAMode, getFamilyName, getFeatures, getFileName, getFileSize, getFontCount, getFontIndex, getFontMetrics, getFullName, getGlyphBoundingBox, getGlyphMapper, getIndexToLocFormat, getLocaleFamilyName, getLocaleFullName, getLocaleStyleName, getNumHMetrics, getPeer, getPSName, getStrike, getStrike, getStrikeMap, getStyleName, getUnitsPerEm, hashCode, isBold, isCFF, isDecoded, isEmbeddedFont, isInstalledFont, isItalic, isRegistered, setPeerprivate final long cgFontRef
private static final CGAffineTransform tx
CTFontFile(java.lang.String name,
java.lang.String filename,
int fIndex,
boolean register,
boolean embedded,
boolean copy,
boolean tracked)
throws java.lang.Exception
java.lang.Exceptionpublic static boolean registerFont(java.lang.String fontfile)
private long createCGFontForEmbeddedFont()
long getCGFontRef()
CGRect getBBox(int gc, float size)
Path2D getGlyphOutline(int gc, float size)
protected int[] createGlyphBoundingBox(int gc)
createGlyphBoundingBox in class PrismFontFileprotected PrismFontStrike<CTFontFile> createStrike(float size, BaseTransform transform, int aaMode, FontStrikeDesc desc)
createStrike in class PrismFontFile