Class OS2Table
java.lang.Object
org.pentaho.reporting.libraries.fonts.truetype.OS2Table
- All Implemented Interfaces:
FontTable
Creation-Date: 06.11.2005, 20:24:42
- Author:
- Thomas Morgner
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
short
int
int
int
int
int
int
long
getName()
byte[]
short
int
int
int
byte[]
int
int
int
int
int
short
short
short
short
short
short
short
short
short
short
short
short
boolean
isBold()
boolean
isCodepageSupported
(int codepage) boolean
isItalic()
boolean
boolean
isUnicodeRangeSupported
(int pos)
-
Field Details
-
TABLE_ID
public static final long TABLE_ID- See Also:
-
-
Constructor Details
-
OS2Table
public OS2Table(byte[] data, int unitsPerEm)
-
-
Method Details
-
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()
-