| Modifier and Type | Field and Description |
|---|---|
| private static final String[] | |
| private static final String[] | |
| private static final FontRenderContext | |
| public static final int | |
| protected FontFamily | |
| protected String | |
| public static final int | |
| protected int | |
| protected String | |
| public static final int | |
| public static final int | |
| public static final int | |
| public Font2DHandle | |
| private static final String[] | |
| public static final int | |
| protected Reference | |
| protected CharToGlyphMapper | |
| public static final int | |
| protected ConcurrentHashMap | |
| private int | |
| protected int | |
| public static final int | |
| public static final int | |
| public static final int | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| public boolean | |
| public int | |
| public int | |
| public int | |
| public int | |
| pack-priv abstract FontStrike | |
| public byte | |
| public String | |
| public void | getFontMetrics(Font font, AffineTransform at, Object aaHint, Object fmHint, float[] metrics)
The length of the metrics array must be >= 8. |
| public void | getFontMetrics(Font font, FontRenderContext frc, float[] metrics)
The length of the metrics array must be >= 4. |
| public String | |
| public float | |
| pack-priv abstract CharToGlyphMapper | |
| public int | |
| public int | |
| protected long | |
| public String | |
| pack-priv int | |
| public FontStrike | |
| public FontStrike | |
| public FontStrike | |
| public FontStrike | |
| pack-priv FontStrike | |
| private FontStrike | |
| public int | |
| public void | getStyleMetrics(float pointSize, float[] metrics, int offset)
The length of the metrics array must be >= offset+4, and offset must be >= 0. |
| protected byte[] | |
| protected long | |
| protected int | |
| public int | |
| public int | |
| public boolean | |
| pack-priv void | |
| protected void | |
| pack-priv void | |
| pack-priv boolean | |
| pack-priv void | |
| public boolean |
| boldItalicNames | back to summary |
|---|---|
| private static final String[] boldItalicNames | |
| boldNames | back to summary |
|---|---|
| private static final String[] boldNames | |
| DEFAULT_FRC | back to summary |
|---|---|
| private static final FontRenderContext DEFAULT_FRC | |
| DEFAULT_RANK | back to summary |
|---|---|
| public static final int DEFAULT_RANK | |
| family | back to summary |
|---|---|
| protected FontFamily family | |
| familyName | back to summary |
|---|---|
| protected String familyName | |
| FONT_CONFIG_RANK | back to summary |
|---|---|
| public static final int FONT_CONFIG_RANK | |
| fontRank | back to summary |
|---|---|
| protected int fontRank | |
| fullName | back to summary |
|---|---|
| protected String fullName | |
| FWEIGHT_BOLD | back to summary |
|---|---|
| public static final int FWEIGHT_BOLD | |
| FWEIGHT_NORMAL | back to summary |
|---|---|
| public static final int FWEIGHT_NORMAL | |
| FWIDTH_NORMAL | back to summary |
|---|---|
| public static final int FWIDTH_NORMAL | |
| handle | back to summary |
|---|---|
| public Font2DHandle handle | |
| italicNames | back to summary |
|---|---|
| private static final String[] italicNames | |
| JRE_RANK | back to summary |
|---|---|
| public static final int JRE_RANK | |
| lastFontStrike | back to summary |
|---|---|
| protected Reference<FontStrike> lastFontStrike | |
| mapper | back to summary |
|---|---|
| protected CharToGlyphMapper mapper | |
| NATIVE_RANK | back to summary |
|---|---|
| public static final int NATIVE_RANK | |
| strikeCache | back to summary |
|---|---|
| protected ConcurrentHashMap<FontStrikeDesc, Reference<FontStrike>> strikeCache | |
| strikeCacheMax | back to summary |
|---|---|
| private int strikeCacheMax | |
| style | back to summary |
|---|---|
| protected int style | |
| TTF_RANK | back to summary |
|---|---|
| public static final int TTF_RANK | |
| TYPE1_RANK | back to summary |
|---|---|
| public static final int TYPE1_RANK | |
| UNKNOWN_RANK | back to summary |
|---|---|
| public static final int UNKNOWN_RANK | |
| useWeak | back to summary |
|---|---|
| private boolean useWeak | |
| Font2D | back to summary |
|---|---|
| public Font2D() | |
| canDisplay | back to summary |
|---|---|
| public boolean canDisplay(char c) | |
| canDisplay | back to summary |
|---|---|
| public boolean canDisplay(int cp) | |
| canDoStyle | back to summary |
|---|---|
| public boolean canDoStyle(int style) | |
| charToGlyph | back to summary |
|---|---|
| public int charToGlyph(int wchar) | |
| charToGlyphRaw | back to summary |
|---|---|
| public int charToGlyphRaw(int wchar) | |
| charToVariationGlyph | back to summary |
|---|---|
| public int charToVariationGlyph(int wchar, int variationSelector) | |
| charToVariationGlyphRaw | back to summary |
|---|---|
| public int charToVariationGlyphRaw(int wchar, int variationSelector) | |
| createStrike | back to summary |
|---|---|
| pack-priv abstract FontStrike createStrike(FontStrikeDesc desc) | |
| getBaselineFor | back to summary |
|---|---|
| public byte getBaselineFor(char c) | |
| getFamilyName | back to summary |
|---|---|
| public String getFamilyName(Locale l) | |
| getFontMetrics | back to summary |
|---|---|
| public void getFontMetrics(Font font, AffineTransform at, Object aaHint, Object fmHint, float[] metrics) The length of the metrics array must be >= 8. This method will store the following elements in that array before returning: metrics[0]: ascent metrics[1]: descent metrics[2]: leading metrics[3]: max advance metrics[4]: strikethrough offset metrics[5]: strikethrough thickness metrics[6]: underline offset metrics[7]: underline thickness | |
| getFontMetrics | back to summary |
|---|---|
| public void getFontMetrics(Font font, FontRenderContext frc, float[] metrics) The length of the metrics array must be >= 4. This method will store the following elements in that array before returning: metrics[0]: ascent metrics[1]: descent metrics[2]: leading metrics[3]: max advance | |
| getFontName | back to summary |
|---|---|
| public String getFontName(Locale l) | |
| getItalicAngle | back to summary |
|---|---|
| public float getItalicAngle(Font font, AffineTransform at, Object aaHint, Object fmHint) | |
| getMapper | back to summary |
|---|---|
| pack-priv abstract CharToGlyphMapper getMapper() | |
| getMissingGlyphCode | back to summary |
|---|---|
| public int getMissingGlyphCode() | |
| getNumGlyphs | back to summary |
|---|---|
| public int getNumGlyphs() | |
| getPlatformNativeFontPtr | back to summary |
|---|---|
| protected long getPlatformNativeFontPtr() | |
| getPostscriptName | back to summary |
|---|---|
| public String getPostscriptName() | |
| getRank | back to summary |
|---|---|
| pack-priv int getRank() | |
| getStrike | back to summary |
|---|---|
| public FontStrike getStrike(Font font) | |
| getStrike | back to summary |
|---|---|
| public FontStrike getStrike(Font font, AffineTransform devTx, int aa, int fm) | |
| getStrike | back to summary |
|---|---|
| public FontStrike getStrike(Font font, AffineTransform devTx, AffineTransform glyphTx, int aa, int fm) | |
| getStrike | back to summary |
|---|---|
| public FontStrike getStrike(Font font, FontRenderContext frc) | |
| getStrike | back to summary |
|---|---|
| pack-priv FontStrike getStrike(FontStrikeDesc desc) | |
| getStrike | back to summary |
|---|---|
| private FontStrike getStrike(FontStrikeDesc desc, boolean copy) | |
| getStyle | back to summary |
|---|---|
| public int getStyle() | |
| getStyleMetrics | back to summary |
|---|---|
| public void getStyleMetrics(float pointSize, float[] metrics, int offset) The length of the metrics array must be >= offset+4, and offset must be >= 0. Typically offset is 4. This method will store the following elements in that array before returning: metrics[off+0]: strikethrough offset metrics[off+1]: strikethrough thickness metrics[off+2]: underline offset metrics[off+3]: underline thickness Note that this implementation simply returns default values; subclasses can override this method to provide more accurate values. | |
| getTableBytes | back to summary |
|---|---|
| protected byte[] getTableBytes(int tag) | |
| getUnitsPerEm | back to summary |
|---|---|
| protected long getUnitsPerEm() | |
| getValidatedGlyphCode | back to summary |
|---|---|
| protected int getValidatedGlyphCode(int glyphCode) | |
| getWeight | back to summary |
|---|---|
| public int getWeight() | |
| getWidth | back to summary |
|---|---|
| public int getWidth() | |
| hasSupplementaryChars | back to summary |
|---|---|
| public boolean hasSupplementaryChars() | |
| setRank | back to summary |
|---|---|
| pack-priv void setRank(int rank) | |
| setStyle | back to summary |
|---|---|
| protected void setStyle() | |
| setUseWeakRefs | back to summary |
|---|---|
| pack-priv void setUseWeakRefs(boolean weak, int maxStrikes) | |
| supportsEncoding | back to summary |
|---|---|
| pack-priv boolean supportsEncoding(String encoding) | |
| updateLastStrikeRef | back to summary |
|---|---|
| pack-priv void updateLastStrikeRef(FontStrike strike) | |
| useAAForPtSize | back to summary |
|---|---|
| public boolean useAAForPtSize(int ptsize) | |