org.pentaho.reporting.libraries.fonts.truetype
Class OS2Table
java.lang.Object
org.pentaho.reporting.libraries.fonts.truetype.OS2Table
- All Implemented Interfaces:
- FontTable
public class OS2Table
- extends java.lang.Object
- implements FontTable
Creation-Date: 06.11.2005, 20:24:42
- Author:
- Thomas Morgner
Constructor Summary |
OS2Table(byte[] data,
int unitsPerEm)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TABLE_ID
public static final long TABLE_ID
- See Also:
- Constant Field Values
OS2Table
public OS2Table(byte[] data,
int unitsPerEm)
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