public abstract class PrismFontFile extends Object implements FontResource, FontConstants
| Modifier and Type | Field and Description |
|---|---|
static int |
FAMILY_NAME_ID |
static int |
FULL_NAME_ID |
static int |
MAC_PLATFORM_ID |
static int |
MACROMAN_ENGLISH_LANG |
static int |
MACROMAN_SPECIFIC_ID |
static short |
MS_ENGLISH_LOCALE_ID |
static int |
MS_PLATFORM_ID |
static int |
PS_NAME_ID |
static int |
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, ZEROcmapTag, DIRECTORYENTRYSIZE, DIRECTORYHEADERSIZE, headTag, hheaTag, hmtxTag, maxpTag, nameTag, os_2Tag, ottoTag, postTag, trueTag, ttcfTag, TTCHEADERSIZE, v1ttTag, WOFFDIRECTORYENTRYSIZE, WOFFHEADERSIZE, woffTag| Modifier | Constructor and Description |
|---|---|
protected |
PrismFontFile(String name,
String filename,
int fIndex,
boolean register,
boolean embedded,
boolean copy,
boolean tracked) |
public static final int MAC_PLATFORM_ID
public static final int MACROMAN_SPECIFIC_ID
public static final int MACROMAN_ENGLISH_LANG
public static final int MS_PLATFORM_ID
public static final short MS_ENGLISH_LOCALE_ID
public static final int FAMILY_NAME_ID
public static final int STYLE_NAME_ID
public static final int FULL_NAME_ID
public static final int PS_NAME_ID
protected void disposeOnShutdown()
public int getDefaultAAMode()
getDefaultAAMode in interface FontResourcepublic boolean isInstalledFont()
public String getFileName()
getFileName in interface FontResourceprotected int getFileSize()
protected int getFontIndex()
public String getFullName()
getFullName in interface FontResourcepublic String getPSName()
getPSName in interface FontResourcepublic String getFamilyName()
getFamilyName in interface FontResourcepublic String getStyleName()
getStyleName in interface FontResourcepublic String getLocaleFullName()
getLocaleFullName in interface FontResourcepublic String getLocaleFamilyName()
getLocaleFamilyName in interface FontResourcepublic String getLocaleStyleName()
getLocaleStyleName in interface FontResourcepublic int getFeatures()
getFeatures in interface FontResourcepublic Map getStrikeMap()
getStrikeMap in interface FontResourceprotected abstract PrismFontStrike createStrike(float size, BaseTransform transform, int aaMode, FontStrikeDesc desc)
public FontStrike getStrike(float size, BaseTransform transform, int aaMode)
getStrike in interface FontResourceprotected abstract int[] createGlyphBoundingBox(int gc)
public float[] getGlyphBoundingBox(int gc,
float size,
float[] retArr)
getGlyphBoundingBox in interface FontResourceprotected boolean isCFF()
public Object getPeer()
getPeer in interface FontResourcepublic void setPeer(Object peer)
setPeer in interface FontResourcepublic int getFontCount()
public boolean isBold()
isBold in interface FontResourcepublic boolean isItalic()
isItalic in interface FontResourcepublic boolean isDecoded()
public boolean isRegistered()
public boolean isEmbeddedFont()
isEmbeddedFont in interface FontResourcepublic int getUnitsPerEm()
public short getIndexToLocFormat()
public int getNumHMetrics()
public CharToGlyphMapper getGlyphMapper()
getGlyphMapper in interface FontResourcepublic FontStrike getStrike(float size, BaseTransform transform)
getStrike in interface FontResourcepublic float getAdvance(int glyphCode,
float ptSize)
getAdvance in interface FontResourcepublic PrismMetrics getFontMetrics(float ptSize)
Copyright © 2025. All rights reserved.