org.pentaho.reporting.libraries.fonts.truetype
Class OS2Table

java.lang.Object
  extended by org.pentaho.reporting.libraries.fonts.truetype.OS2Table
All Implemented Interfaces:
FontTable

public class OS2Table
extends Object
implements FontTable

Creation-Date: 06.11.2005, 20:24:42

Author:
Thomas Morgner

Field Summary
static long TABLE_ID
           
 
Constructor Summary
OS2Table(byte[] data, int unitsPerEm)
           
 
Method Summary
 int getBreakChar()
           
 short getCapHeight()
           
 int getDefaultChar()
           
 int getFirstCharIndex()
           
 int getFsSelection()
           
 int getFsType()
           
 int getLastCharIndex()
           
 int getMaxContext()
           
 long getName()
           
 byte[] getPanose()
           
 short getsFamilyClass()
           
 int getTypoAscender()
           
 int getTypoDescender()
           
 int getTypoLineGap()
           
 byte[] getVendorId()
           
 int getVersion()
           
 int getWeightClass()
           
 int getWidthClass()
           
 int getWinAscent()
           
 int getWinDescent()
           
 short getxAvgCharWidth()
           
 short getxHeight()
           
 short getyStrikeoutPosition()
           
 short getyStrikeoutSize()
           
 short getySubscriptXOffset()
           
 short getySubscriptXSize()
           
 short getySubscriptYOffset()
           
 short getySubscriptYSize()
           
 short getySuperscriptXOffset()
           
 short getySuperscriptXSize()
           
 short getySuperscriptYOffset()
           
 short getySuperscriptYSize()
           
 boolean isBold()
           
 boolean isCodepageSupported(int codepage)
           
 boolean isItalic()
           
 boolean isRestricted()
           
 boolean isUnicodeRangeSupported(int pos)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLE_ID

public static final long TABLE_ID
See Also:
Constant Field Values
Constructor Detail

OS2Table

public OS2Table(byte[] data,
                int unitsPerEm)
Method Detail

getVersion

public int getVersion()

getxAvgCharWidth

public short getxAvgCharWidth()

getWeightClass

public int getWeightClass()

getWidthClass

public int getWidthClass()

getFsType

public int getFsType()

getySubscriptXSize

public short getySubscriptXSize()

getySubscriptYSize

public short getySubscriptYSize()

getySubscriptXOffset

public short getySubscriptXOffset()

getySubscriptYOffset

public short getySubscriptYOffset()

getySuperscriptXSize

public short getySuperscriptXSize()

getySuperscriptYSize

public short getySuperscriptYSize()

getySuperscriptXOffset

public short getySuperscriptXOffset()

getySuperscriptYOffset

public short getySuperscriptYOffset()

getyStrikeoutSize

public short getyStrikeoutSize()

getyStrikeoutPosition

public short getyStrikeoutPosition()

getsFamilyClass

public short getsFamilyClass()

getPanose

public byte[] getPanose()

isUnicodeRangeSupported

public boolean isUnicodeRangeSupported(int pos)

getVendorId

public byte[] getVendorId()

getFsSelection

public int getFsSelection()

isBold

public boolean isBold()

isItalic

public boolean isItalic()

getFirstCharIndex

public int getFirstCharIndex()

getLastCharIndex

public int getLastCharIndex()

getTypoAscender

public int getTypoAscender()

getTypoDescender

public int getTypoDescender()

getTypoLineGap

public int getTypoLineGap()

getWinAscent

public int getWinAscent()

getWinDescent

public int getWinDescent()

isCodepageSupported

public boolean isCodepageSupported(int codepage)

getxHeight

public short getxHeight()

getCapHeight

public short getCapHeight()

getDefaultChar

public int getDefaultChar()

getBreakChar

public int getBreakChar()

getMaxContext

public int getMaxContext()

isRestricted

public boolean isRestricted()

getName

public long getName()
Specified by:
getName in interface FontTable