org.extex.font.format.xtf.tables
Class TtfTableOS2.Panose

java.lang.Object
  extended by org.extex.font.format.xtf.tables.TtfTableOS2.Panose
All Implemented Interfaces:
XMLWriterConvertible
Enclosing class:
TtfTableOS2

public static class TtfTableOS2.Panose
extends java.lang.Object
implements XMLWriterConvertible

panose.

This 10 byte series of numbers are used to describe the visual characteristics of a given typeface. These characteristics are then used to associate the font with other fonts of similar appearance having different names.


Field Summary
static java.lang.String[] ARMSTYLENAME
          arm style name
static java.lang.String[] CONTRASTNAME
          contrastname
static java.lang.String[] FAMILYTYPENAME
          familytypename
static java.lang.String[] LETTERFORMNAME
          letterformname
static java.lang.String[] MIDLINENAME
          midlinename
static java.lang.String[] PROPORTIONAME
          proportionname
static java.lang.String[] SERIFSTYLENAME
          seriftypename
static java.lang.String[] STROKEVARIATIONNAME
          strokevariationame
static java.lang.String[] WEIGHTNAME
          weight name
static java.lang.String[] XHEIGHTNAME
          xheightname
 
Constructor Summary
TtfTableOS2.Panose(byte[] panosearray)
          Create a new object.
 
Method Summary
 byte getArmStyle()
          Returns the armStyle.
 byte getContrast()
          Returns the contrast.
 byte getFamilyType()
          Returns the familyType.
 byte getFerifStyle()
          Returns the ferifStyle.
 byte getLetterform()
          Returns the letterform.
 byte getMidline()
          Returns the midline.
 byte getProportion()
          Returns the proportion.
 byte getStrokeVariation()
          Returns the strokeVariation.
 byte getWeight()
          Returns the weight.
 byte getXHeight()
          Returns the xHeight.
 void writeXML(XMLStreamWriter writer)
          Write the data to a XMLStreamWriter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARMSTYLENAME

public static final java.lang.String[] ARMSTYLENAME
arm style name


CONTRASTNAME

public static final java.lang.String[] CONTRASTNAME
contrastname


FAMILYTYPENAME

public static final java.lang.String[] FAMILYTYPENAME
familytypename


LETTERFORMNAME

public static final java.lang.String[] LETTERFORMNAME
letterformname


MIDLINENAME

public static final java.lang.String[] MIDLINENAME
midlinename


PROPORTIONAME

public static final java.lang.String[] PROPORTIONAME
proportionname


SERIFSTYLENAME

public static final java.lang.String[] SERIFSTYLENAME
seriftypename


STROKEVARIATIONNAME

public static final java.lang.String[] STROKEVARIATIONNAME
strokevariationame


WEIGHTNAME

public static final java.lang.String[] WEIGHTNAME
weight name


XHEIGHTNAME

public static final java.lang.String[] XHEIGHTNAME
xheightname

Constructor Detail

TtfTableOS2.Panose

public TtfTableOS2.Panose(byte[] panosearray)
Create a new object.

Parameters:
panosearray - the panose
Method Detail

getArmStyle

public byte getArmStyle()
Returns the armStyle.

Returns:
Returns the armStyle.

getContrast

public byte getContrast()
Returns the contrast.

Returns:
Returns the contrast.

getFamilyType

public byte getFamilyType()
Returns the familyType.

Returns:
Returns the familyType.

getFerifStyle

public byte getFerifStyle()
Returns the ferifStyle.

Returns:
Returns the ferifStyle.

getLetterform

public byte getLetterform()
Returns the letterform.

Returns:
Returns the letterform.

getMidline

public byte getMidline()
Returns the midline.

Returns:
Returns the midline.

getProportion

public byte getProportion()
Returns the proportion.

Returns:
Returns the proportion.

getStrokeVariation

public byte getStrokeVariation()
Returns the strokeVariation.

Returns:
Returns the strokeVariation.

getWeight

public byte getWeight()
Returns the weight.

Returns:
Returns the weight.

getXHeight

public byte getXHeight()
Returns the xHeight.

Returns:
Returns the xHeight.

writeXML

public void writeXML(XMLStreamWriter writer)
              throws java.io.IOException
Write the data to a XMLStreamWriter.

Specified by:
writeXML in interface XMLWriterConvertible
Parameters:
writer - the XML-Writer
Throws:
java.io.IOException - if an IO-error occurs.
See Also:
XMLWriterConvertible.writeXML( org.extex.util.xml.XMLStreamWriter)