|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.font.format.xtf.tables.AbstractXtfTable
org.extex.font.format.xtf.tables.TtfTableGLYF
public class TtfTableGLYF
The 'glyf' table contains the data that defines the appearance of the glyphs in the font. This includes specification of the points that describe the contours that make up a glyph outline and the instructions that grid-fit that glyph. The 'glyf' table supports the definition of simple glyphs and compound glyphs, that is, glyphs that are made up of other glyphs.
| Type | Name | Description |
| SHORT | numberOfContours | If the number of contours is greater than or equal to zero, this is a single glyph; if negative, this is a composite glyph. |
| FWord | xMin | Minimum x for coordinate data. |
| FWord | yMin | Minimum y for coordinate data. |
| FWord | xMax | Maximum x for coordinate data. |
| FWord | yMax | Maximum y for coordinate data. |
| Nested Class Summary | |
|---|---|
static class |
TtfTableGLYF.CompositeComp
Composite comp |
class |
TtfTableGLYF.CompositeDescript
Compound glyphs are glyphs made up of two or more component glyphs. |
static class |
TtfTableGLYF.Descript
Simple Glyph Description. |
class |
TtfTableGLYF.SimpleDescript
SimleDescript. |
| Constructor Summary | |
|---|---|
TtfTableGLYF(XtfTableMap tablemap,
XtfTableDirectory.Entry de,
RandomAccessR rar)
Create a new object. |
|
| Method Summary | |
|---|---|
TtfTableGLYF.Descript |
getDescription(int i)
Returns the description |
int |
getInitOrder()
Returns a order number to sort the tables for the init process. |
java.lang.String |
getShortcut()
Returns the table shortcut. |
int |
getType()
Get the table type, as a table directory value. |
void |
init()
Initialize the table. |
void |
writeXML(XMLStreamWriter writer)
Write the data to a XMLStreamWriter. |
| Methods inherited from class org.extex.font.format.xtf.tables.AbstractXtfTable |
|---|
getGlyphName, getTableMap, writeStartElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.extex.font.format.xtf.tables.XtfTable |
|---|
getTableMap |
| Constructor Detail |
|---|
public TtfTableGLYF(XtfTableMap tablemap,
XtfTableDirectory.Entry de,
RandomAccessR rar)
throws java.io.IOException
tablemap - the tablemapde - directory entryrar - the RandomAccessInput
java.io.IOException - if an error occured| Method Detail |
|---|
public TtfTableGLYF.Descript getDescription(int i)
i - index
public int getInitOrder()
getInitOrder in interface XtfTablegetInitOrder in class AbstractXtfTableAbstractXtfTable.getInitOrder()public java.lang.String getShortcut()
getShortcut in interface XtfTableXtfTable.getShortcut()public int getType()
getType in interface XtfTablepublic void init()
init in interface XtfTableinit in class AbstractXtfTableAbstractXtfTable.init()
public void writeXML(XMLStreamWriter writer)
throws java.io.IOException
writeXML in interface XMLWriterConvertiblewriter - the XML-Writer
java.io.IOException - if an IO-error occurs.XMLWriterConvertible.writeXML(org.extex.util.xml.XMLStreamWriter)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||