|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.font.format.ttf.TTFTablePOST
public class TTFTablePOST
Class representing a TTF "post" (PostScript) table.
Field Summary | |
---|---|
protected static byte |
BYTE_BYTES
The size, in bytes of the data type "BYTE", that is, 1. |
protected static byte |
CHAR_BYTES
The size, in bytes of the data type "CHAR", that is, 1. |
protected static byte |
F2DOT14_BYTES
The size, in bytes of the data type "F2DOT14", that is, 2. |
protected static byte |
FIXED_BYTES
The size, in bytes of the data type "FIXED", that is, 4. |
protected static byte |
FWORD_BYTES
The size, in bytes of the data type "FWORD", that is, 2. |
protected static byte |
LONG_BYTES
The size, in bytes of the data type "LONG", that is, 4. |
protected static byte |
LONG_DATE_TIME_BYTES
The size, in bytes of the data type "International Date", that is, 8. |
protected static byte |
OFFSET_BYTES
The size, in bytes of the data type "Offset", that is, 2. |
protected static byte |
SHORT_BYTES
The size, in bytes of the data type "SHORT", that is, 2. |
protected static byte |
UFWORD_BYTES
The size, in bytes of the data type "UFWORD", that is, 2. |
protected static byte |
ULONG_BYTES
The size, in bytes of the data type "ULONG", that is, 4. |
protected static byte |
USHORT_BYTES
The size, in bytes of the data type "USHORT", that is, 2. |
Constructor Summary | |
---|---|
TTFTablePOST(TTFOffsetTableRecord dirEntry)
Constructor. |
Method Summary | |
---|---|
BigDecimal |
getItalicAngle()
Returns the parsed italic angle value. |
String |
getPostScriptName(org.axsl.ps.PsServer psServer,
char glyphIndex)
Returns the parsed PostScript name for a given glyph index. |
String |
getTableTag()
Return the 4-character name of this table, for example, "post" or "glyf". |
int |
getUnderlinePosition()
Returns the parsed underline position. |
int |
getUnderlineThickness()
Returns the parsed underline thickness. |
boolean |
isFixedPitch()
Indicates whether this font is fixed pitch or proportional. |
static boolean |
isIndexReserved(char index)
Determines whether this index represents a reserved character. |
static TTFTablePOST |
parse(TTFOffsetTableRecord dirEntry,
RandomAccessInput raInput)
Parse the "post" table. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final byte BYTE_BYTES
protected static final byte CHAR_BYTES
protected static final byte USHORT_BYTES
protected static final byte SHORT_BYTES
protected static final byte ULONG_BYTES
protected static final byte LONG_BYTES
protected static final byte FIXED_BYTES
protected static final byte FWORD_BYTES
protected static final byte UFWORD_BYTES
protected static final byte F2DOT14_BYTES
protected static final byte LONG_DATE_TIME_BYTES
protected static final byte OFFSET_BYTES
Constructor Detail |
---|
public TTFTablePOST(TTFOffsetTableRecord dirEntry)
dirEntry
- The parent table directory entry.Method Detail |
---|
public static TTFTablePOST parse(TTFOffsetTableRecord dirEntry, RandomAccessInput raInput) throws IOException
dirEntry
- The parent table directory entry.raInput
- The input which is being parsed.
IOException
- For I/O Error.public String getTableTag()
public BigDecimal getItalicAngle()
public int getUnderlinePosition()
public int getUnderlineThickness()
public boolean isFixedPitch()
public String getPostScriptName(org.axsl.ps.PsServer psServer, char glyphIndex)
psServer
- The PostScript server.glyphIndex
- The glyph index whose PostScript name is sought.
glyphIndex
.public static boolean isIndexReserved(char index)
index
- The index value to be checked.
index
is reserved.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |