class DWFontFile extends PrismFontFile
Modifier and Type | Field and Description |
---|---|
private DWDisposer |
disposer |
private IDWriteFontFace |
fontFace |
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_ID
AA_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, ZERO
cmapTag, DIRECTORYENTRYSIZE, DIRECTORYHEADERSIZE, headTag, hheaTag, hmtxTag, maxpTag, nameTag, os_2Tag, ottoTag, postTag, trueTag, ttcfTag, TTCHEADERSIZE, v1ttTag, WOFFDIRECTORYENTRYSIZE, WOFFHEADERSIZE, woffTag
Constructor and Description |
---|
DWFontFile(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 IDWriteFontFace |
createEmbeddedFontFace() |
private IDWriteFontFace |
createFontFace() |
protected int[] |
createGlyphBoundingBox(int gc) |
protected PrismFontStrike<DWFontFile> |
createStrike(float size,
BaseTransform transform,
int aaMode,
FontStrikeDesc desc) |
protected void |
disposeOnShutdown() |
(package private) RectBounds |
getBBox(int glyphCode,
float size) |
(package private) IDWriteFontFace |
getFontFace() |
(package private) Path2D |
getGlyphOutline(int gc,
float size) |
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, setPeer
private IDWriteFontFace fontFace
private DWDisposer disposer
DWFontFile(java.lang.String name, java.lang.String filename, int fIndex, boolean register, boolean embedded, boolean copy, boolean tracked) throws java.lang.Exception
java.lang.Exception
private IDWriteFontFace createEmbeddedFontFace()
private IDWriteFontFace createFontFace()
IDWriteFontFace getFontFace()
Path2D getGlyphOutline(int gc, float size)
RectBounds getBBox(int glyphCode, float size)
protected int[] createGlyphBoundingBox(int gc)
createGlyphBoundingBox
in class PrismFontFile
protected PrismFontStrike<DWFontFile> createStrike(float size, BaseTransform transform, int aaMode, FontStrikeDesc desc)
createStrike
in class PrismFontFile
protected void disposeOnShutdown()
disposeOnShutdown
in class PrismFontFile