| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| private static final String[] | |
| private static String | |
| pack-priv int | |
| private static final int | |
| private static final int | |
| pack-priv int | |
| pack-priv TrueTypeFont. | |
| public static final int | |
| private static final short[] | |
| pack-priv static final String[] | |
| public static final short | |
| public static final int | |
| public static final int | |
| public static final int | |
| pack-priv int | |
| pack-priv int | |
| private int | |
| private int | |
| private static final int | |
| private static final int | |
| private static final int | |
| public static final int | |
| public static final int | |
| private char[] | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| private short[] | |
| private static final String[][] | |
| private static Map | |
| private static Map | |
| private String | |
| private String | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| private Locale | |
| public static final int | |
| pack-priv int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| private float | |
| private float | |
| private boolean | |
| private boolean | |
| pack-priv TrueTypeFont. | |
| public static final int | |
| public static final int | |
| private static final int | |
| private float | |
| private float | |
| private static final short | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | TrueTypeFont(String platname, Object nativeNames, int fIndex, boolean javaRasterizer, boolean useFilePool)
- does basic verification of the file - reads the header table for this font (within a collection) - reads the names (full, family). |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| protected synchronized void | |
| private static void | |
| private static synchronized void | |
| pack-priv String[] | |
| pack-priv String[] | |
| pack-priv static String | |
| pack-priv TrueTypeFont. | |
| public String | |
| public int | |
| public String | |
| public String | |
| private char[] | |
| pack-priv Point2D. | getGlyphPoint(long pScalerContext, int glyphCode, int ptNumber)
Overrides sun.
|
| private static short[] | |
| private static short | |
| public CharToGlyphMapper | |
| public String | |
| protected synchronized FontScaler | |
| public void | getStyleMetrics(float pointSize, float[] metrics, int offset)
Overrides sun. The length of the metrics array must be >= offset+4, and offset must be >= 0. |
| pack-priv ByteBuffer | |
| protected byte[] | |
| pack-priv int | |
| pack-priv int | |
| public int | |
| public int | |
| public boolean | |
| protected void | |
| protected void | |
| protected void | |
| private boolean | |
| protected String | |
| private String | |
| private synchronized FileChannel | |
| private synchronized FileChannel | |
| pack-priv int | |
| pack-priv ByteBuffer | |
| pack-priv byte[] | |
| private void | |
| private void | |
| protected void | |
| private void | |
| private void | |
| pack-priv boolean | |
| pack-priv boolean | |
| public String | |
| public boolean | |
| pack-priv boolean | |
| private void |
| cmapTag | back to summary |
|---|---|
| public static final int cmapTag | |
| codePages | back to summary |
|---|---|
| private static final String[] codePages | |
| defaultCodePage | back to summary |
|---|---|
| private static String defaultCodePage | |
| directoryCount | back to summary |
|---|---|
| pack-priv int directoryCount | |
| DIRECTORYENTRYSIZE | back to summary |
|---|---|
| private static final int DIRECTORYENTRYSIZE | |
| DIRECTORYHEADERSIZE | back to summary |
|---|---|
| private static final int DIRECTORYHEADERSIZE | |
| directoryOffset | back to summary |
|---|---|
| pack-priv int directoryOffset | |
| disposerRecord | back to summary |
|---|---|
| pack-priv TrueTypeFont. | |
| EBLCTag | back to summary |
|---|---|
| public static final int EBLCTag | |
| EMPTY_COMPATIBLE_LCIDS | back to summary |
|---|---|
| private static final short[] EMPTY_COMPATIBLE_LCIDS | |
| encoding_mapping | back to summary |
|---|---|
| pack-priv static final String[] encoding_mapping | |
| ENGLISH_LOCALE_ID | back to summary |
|---|---|
| public static final short ENGLISH_LOCALE_ID | |
| FAMILY_NAME_ID | back to summary |
|---|---|
| public static final int FAMILY_NAME_ID | |
| fdscTag | back to summary |
|---|---|
| public static final int fdscTag | |
| featTag | back to summary |
|---|---|
| public static final int featTag | |
| fontDataSize | back to summary |
|---|---|
| pack-priv int fontDataSize | |
| fontIndex | back to summary |
|---|---|
| pack-priv int fontIndex | |
| fontWeight | back to summary |
|---|---|
| private int fontWeight | |
| fontWidth | back to summary |
|---|---|
| private int fontWidth | |
| fsSelectionBoldBit | back to summary |
|---|---|
| private static final int fsSelectionBoldBit | |
| fsSelectionItalicBit | back to summary |
|---|---|
| private static final int fsSelectionItalicBit | |
| fsSelectionRegularBit | back to summary |
|---|---|
| private static final int fsSelectionRegularBit | |
| FULL_NAME_ID | back to summary |
|---|---|
| public static final int FULL_NAME_ID | |
| fvarTag | back to summary |
|---|---|
| public static final int fvarTag | |
| gaspTable | back to summary |
|---|---|
| private char[] gaspTable | |
| gaspTag | back to summary |
|---|---|
| public static final int gaspTag | |
| GDEFTag | back to summary |
|---|---|
| public static final int GDEFTag | |
| glyfTag | back to summary |
|---|---|
| public static final int glyfTag | |
| GPOSTag | back to summary |
|---|---|
| public static final int GPOSTag | |
| GSUBTag | back to summary |
|---|---|
| public static final int GSUBTag | |
| headTag | back to summary |
|---|---|
| public static final int headTag | |
| hheaTag | back to summary |
|---|---|
| public static final int hheaTag | |
| hmtxTag | back to summary |
|---|---|
| public static final int hmtxTag | |
| languageCompatibleLCIDs | back to summary |
|---|---|
| private short[] languageCompatibleLCIDs | |
| languages | back to summary |
|---|---|
| private static final String[][] languages | |
| lcidLanguageCompatibilityMap | back to summary |
|---|---|
| private static Map<String, short[]> lcidLanguageCompatibilityMap | |
| lcidMap | back to summary |
|---|---|
| private static Map<String, Short> lcidMap | |
| localeFamilyName | back to summary |
|---|---|
| private String localeFamilyName | |
| localeFullName | back to summary |
|---|---|
| private String localeFullName | |
| locaTag | back to summary |
|---|---|
| public static final int locaTag | |
| MAC_PLATFORM_ID | back to summary |
|---|---|
| public static final int MAC_PLATFORM_ID | |
| MACROMAN_ENGLISH_LANG | back to summary |
|---|---|
| public static final int MACROMAN_ENGLISH_LANG | |
| MACROMAN_SPECIFIC_ID | back to summary |
|---|---|
| public static final int MACROMAN_SPECIFIC_ID | |
| maxpTag | back to summary |
|---|---|
| public static final int maxpTag | |
| mortTag | back to summary |
|---|---|
| public static final int mortTag | |
| morxTag | back to summary |
|---|---|
| public static final int morxTag | |
| MS_PLATFORM_ID | back to summary |
|---|---|
| public static final int MS_PLATFORM_ID | |
| nameLocale | back to summary |
|---|---|
| private Locale nameLocale | |
| nameTag | back to summary |
|---|---|
| public static final int nameTag | |
| numTables | back to summary |
|---|---|
| pack-priv int numTables | |
| os_2Tag | back to summary |
|---|---|
| public static final int os_2Tag | |
| ottoTag | back to summary |
|---|---|
| public static final int ottoTag | |
| POSTSCRIPT_NAME_ID | back to summary |
|---|---|
| public static final int POSTSCRIPT_NAME_ID | |
| postTag | back to summary |
|---|---|
| public static final int postTag | |
| reserved_bits1 | back to summary |
|---|---|
| public static final int reserved_bits1 | |
| reserved_bits2 | back to summary |
|---|---|
| public static final int reserved_bits2 | |
| stPos | back to summary |
|---|---|
| private float stPos | |
| stSize | back to summary |
|---|---|
| private float stSize | |
| supportsCJK | back to summary |
|---|---|
| private boolean supportsCJK | |
| supportsJA | back to summary |
|---|---|
| private boolean supportsJA | |
| tableDirectory | back to summary |
|---|---|
| pack-priv TrueTypeFont. | |
| trueTag | back to summary |
|---|---|
| public static final int trueTag | |
| ttcfTag | back to summary |
|---|---|
| public static final int ttcfTag | |
| TTCHEADERSIZE | back to summary |
|---|---|
| private static final int TTCHEADERSIZE | |
| ulPos | back to summary |
|---|---|
| private float ulPos | |
| ulSize | back to summary |
|---|---|
| private float ulSize | |
| US_LCID | back to summary |
|---|---|
| private static final short US_LCID | |
| v1ttTag | back to summary |
|---|---|
| public static final int v1ttTag | |
| TrueTypeFont | back to summary |
|---|---|
| public TrueTypeFont(String platname, Object nativeNames, int fIndex, boolean javaRasterizer) throws FontFormatException | |
| TrueTypeFont | back to summary |
|---|---|
| public TrueTypeFont(String platname, Object nativeNames, int fIndex, boolean javaRasterizer, boolean useFilePool) throws FontFormatException - does basic verification of the file - reads the header table for this font (within a collection) - reads the names (full, family). - determines the style of the font. - initializes the CMAP
| |
| addLCIDMapEntry | back to summary |
|---|---|
| private static void addLCIDMapEntry(Map<String, Short> map, String key, short value) | |
| close | back to summary |
|---|---|
| protected synchronized void close() Implements abstract sun. | |
| createLCIDLanguageCompatibilityMap | back to summary |
|---|---|
| private static void createLCIDLanguageCompatibilityMap() | |
| createLCIDMap | back to summary |
|---|---|
| private static synchronized void createLCIDMap() | |
| getAllFamilyNames | back to summary |
|---|---|
| pack-priv String[] getAllFamilyNames() | |
| getAllFullNames | back to summary |
|---|---|
| pack-priv String[] getAllFullNames() | |
| getCodePage | back to summary |
|---|---|
| pack-priv static String getCodePage() | |
| getDirectoryEntry | back to summary |
|---|---|
| pack-priv TrueTypeFont. | |
| getFamilyName | back to summary |
|---|---|
| public String getFamilyName(Locale locale) Overrides sun.
| |
| getFontCount | back to summary |
|---|---|
public int getFontCount()
| |
| getFontName | back to summary |
|---|---|
| public String getFontName(Locale locale) Overrides sun.
| |
| getFullName | back to summary |
|---|---|
| public String getFullName() | |
| getGaspTable | back to summary |
|---|---|
| private char[] getGaspTable() | |
| getGlyphPoint | back to summary |
|---|---|
| pack-priv Point2D. Overrides sun.
| |
| getLanguageCompatibleLCIDsFromLocale | back to summary |
|---|---|
| private static short[] getLanguageCompatibleLCIDsFromLocale(Locale locale) | |
| getLCIDFromLocale | back to summary |
|---|---|
| private static short getLCIDFromLocale(Locale locale) | |
| getMapper | back to summary |
|---|---|
| public CharToGlyphMapper getMapper() Implements abstract sun. | |
| getPostscriptName | back to summary |
|---|---|
| public String getPostscriptName() Overrides sun.
| |
| getScaler | back to summary |
|---|---|
| protected synchronized FontScaler getScaler() Implements abstract sun. | |
| getStyleMetrics | back to summary |
|---|---|
| public void getStyleMetrics(float pointSize, float[] metrics, int offset) Overrides sun. Doc from sun. 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.
| |
| getTableBuffer | back to summary |
|---|---|
| pack-priv ByteBuffer getTableBuffer(int tag) | |
| getTableBytes | back to summary |
|---|---|
| protected byte[] getTableBytes(int tag) Overrides sun.
| |
| getTableOffset | back to summary |
|---|---|
| pack-priv int getTableOffset(int tag) | |
| getTableSize | back to summary |
|---|---|
| pack-priv int getTableSize(int tag) | |
| getWeight | back to summary |
|---|---|
| public int getWeight() Overrides sun.
| |
| getWidth | back to summary |
|---|---|
| public int getWidth() Overrides sun.
| |
| hasSupplementaryChars | back to summary |
|---|---|
| public boolean hasSupplementaryChars() Overrides sun.
| |
| init | back to summary |
|---|---|
| protected void init(int fIndex) throws FontFormatException | |
| initAllNames | back to summary |
|---|---|
| protected void initAllNames(int requestedID, HashSet<String> names) | |
| initNames | back to summary |
|---|---|
| protected void initNames() | |
| isLanguageCompatible | back to summary |
|---|---|
| private boolean isLanguageCompatible(short lcid) | |
| lookupName | back to summary |
|---|---|
| protected String lookupName(short findLocaleID, int findNameID) | |
| makeString | back to summary |
|---|---|
| private String makeString(byte[] bytes, int len, short platformID, short encoding) | |
| open | back to summary |
|---|---|
| private synchronized FileChannel open() throws FontFormatException | |
| open | back to summary |
|---|---|
| private synchronized FileChannel open(boolean usePool) throws FontFormatException | |
| readBlock | back to summary |
|---|---|
| pack-priv int readBlock(ByteBuffer buffer, int offset, int length) | |
| readBlock | back to summary |
|---|---|
| pack-priv ByteBuffer readBlock(int offset, int length) Implements abstract sun. | |
| readBytes | back to summary |
|---|---|
| pack-priv byte[] readBytes(int offset, int length) | |
| setCJKSupport | back to summary |
|---|---|
| private void setCJKSupport(ByteBuffer os2Table) | |
| setStrikethroughMetrics | back to summary |
|---|---|
| private void setStrikethroughMetrics(ByteBuffer os_2Table, int upem) | |
| setStyle | back to summary |
|---|---|
| protected void setStyle() Overrides sun.
| |
| setStyle | back to summary |
|---|---|
| private void setStyle(ByteBuffer os_2Table) | |
| setUnderlineMetrics | back to summary |
|---|---|
| private void setUnderlineMetrics(ByteBuffer postTable, int upem) | |
| supportsEncoding | back to summary |
|---|---|
| pack-priv boolean supportsEncoding(String encoding) Overrides sun.
| |
| supportsJA | back to summary |
|---|---|
| pack-priv boolean supportsJA() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| useAAForPtSize | back to summary |
|---|---|
| public boolean useAAForPtSize(int ptsize) Overrides sun.
| |
| useEmbeddedBitmapsForSize | back to summary |
|---|---|
| pack-priv boolean useEmbeddedBitmapsForSize(int ptSize) | |
| verify | back to summary |
|---|---|
| private void verify(boolean usePool) throws FontFormatException | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv int | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| length | back to summary |
|---|---|
| pack-priv int length | |
| offset | back to summary |
|---|---|
| pack-priv int offset | |
| tag | back to summary |
|---|---|
| pack-priv int tag | |
| DirectoryEntry | back to summary |
|---|---|
| pack-priv DirectoryEntry() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv FileChannel |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void |
| channel | back to summary |
|---|---|
| pack-priv FileChannel channel | |
| TTDisposerRecord | back to summary |
|---|---|
| private TTDisposerRecord() | |
| dispose | back to summary |
|---|---|
| public synchronized void dispose() Implements sun. | |