org.apache.fontbox.ttf
public class OS2WindowsMetricsTable extends TTFTable
Version: $Revision: 1.1 $
Field Summary | |
---|---|
static int | FAMILY_CLASS_CLAREDON_SERIFS
Family class constant. |
static int | FAMILY_CLASS_FREEFORM_SERIFS
Family class constant. |
static int | FAMILY_CLASS_MODERN_SERIFS
Family class constant. |
static int | FAMILY_CLASS_NO_CLASSIFICATION
Family class constant. |
static int | FAMILY_CLASS_OLDSTYLE_SERIFS
Family class constant. |
static int | FAMILY_CLASS_ORNAMENTALS
Family class constant. |
static int | FAMILY_CLASS_SANS_SERIF
Family class constant. |
static int | FAMILY_CLASS_SCRIPTS
Family class constant. |
static int | FAMILY_CLASS_SLAB_SERIFS
Family class constant. |
static int | FAMILY_CLASS_SYMBOLIC
Family class constant. |
static int | FAMILY_CLASS_TRANSITIONAL_SERIFS
Family class constant. |
static String | TAG
A tag that identifies this table type. |
static int | WEIGHT_CLASS_BLACK
Weight class constant. |
static int | WEIGHT_CLASS_BOLD
Weight class constant. |
static int | WEIGHT_CLASS_EXTRA_BOLD
Weight class constant. |
static int | WEIGHT_CLASS_LIGHT
Weight class constant. |
static int | WEIGHT_CLASS_MEDIUM
Weight class constant. |
static int | WEIGHT_CLASS_NORMAL
Weight class constant. |
static int | WEIGHT_CLASS_SEMI_BOLD
Weight class constant. |
static int | WEIGHT_CLASS_THIN
Weight class constant. |
static int | WEIGHT_CLASS_ULTRA_LIGHT
Weight class constant. |
static int | WIDTH_CLASS_CONDENSED
Width class constant. |
static int | WIDTH_CLASS_EXPANDED
Width class constant. |
static int | WIDTH_CLASS_EXTRA_CONDENSED
Width class constant. |
static int | WIDTH_CLASS_EXTRA_EXPANDED
Width class constant. |
static int | WIDTH_CLASS_MEDIUM
Width class constant. |
static int | WIDTH_CLASS_SEMI_CONDENSED
Width class constant. |
static int | WIDTH_CLASS_SEMI_EXPANDED
Width class constant. |
static int | WIDTH_CLASS_ULTRA_CONDENSED
Width class constant. |
static int | WIDTH_CLASS_ULTRA_EXPANDED
Width class constant. |
Method Summary | |
---|---|
String | getAchVendId() |
short | getAverageCharWidth() |
long | getCodePageRange1() |
long | getCodePageRange2() |
short | getFamilyClass() |
int | getFirstCharIndex() |
int | getFsSelection() |
short | getFsType() |
int | getLastCharIndex() |
byte[] | getPanose() |
short | getStrikeoutPosition() |
short | getStrikeoutSize() |
short | getSubscriptXOffset() |
short | getSubscriptXSize() |
short | getSubscriptYOffset() |
short | getSubscriptYSize() |
short | getSuperscriptXOffset() |
short | getSuperscriptXSize() |
short | getSuperscriptYOffset() |
short | getSuperscriptYSize() |
int | getTypeLineGap() |
int | getTypoAscender() |
int | getTypoDescender() |
long | getUnicodeRange1() |
long | getUnicodeRange2() |
long | getUnicodeRange3() |
long | getUnicodeRange4() |
int | getVersion() |
int | getWeightClass() |
int | getWidthClass() |
int | getWinAscent() |
int | getWinDescent() |
void | initData(TrueTypeFont ttf, TTFDataStream data)
This will read the required data from the stream.
|
void | setAchVendId(String achVendIdValue) |
void | setAverageCharWidth(short averageCharWidthValue) |
void | setCodePageRange1(long codePageRange1Value) |
void | setCodePageRange2(long codePageRange2Value) |
void | setFamilyClass(short familyClassValue) |
void | setFirstCharIndex(int firstCharIndexValue) |
void | setFsSelection(int fsSelectionValue) |
void | setFsType(short fsTypeValue) |
void | setLastCharIndex(int lastCharIndexValue) |
void | setPanose(byte[] panoseValue) |
void | setStrikeoutPosition(short strikeoutPositionValue) |
void | setStrikeoutSize(short strikeoutSizeValue) |
void | setSubscriptXOffset(short subscriptXOffsetValue) |
void | setSubscriptXSize(short subscriptXSizeValue) |
void | setSubscriptYOffset(short subscriptYOffsetValue) |
void | setSubscriptYSize(short subscriptYSizeValue) |
void | setSuperscriptXOffset(short superscriptXOffsetValue) |
void | setSuperscriptXSize(short superscriptXSizeValue) |
void | setSuperscriptYOffset(short superscriptYOffsetValue) |
void | setSuperscriptYSize(short superscriptYSizeValue) |
void | setTypeLineGap(int typeLineGapValue) |
void | setTypoAscender(int typoAscenderValue) |
void | setTypoDescender(int typoDescenderValue) |
void | setUnicodeRange1(long unicodeRange1Value) |
void | setUnicodeRange2(long unicodeRange2Value) |
void | setUnicodeRange3(long unicodeRange3Value) |
void | setUnicodeRange4(long unicodeRange4Value) |
void | setVersion(int versionValue) |
void | setWeightClass(int weightClassValue) |
void | setWidthClass(int widthClassValue) |
void | setWinAscent(int winAscentValue) |
void | setWinDescent(int winDescentValue) |
Returns: Returns the achVendId.
Returns: Returns the averageCharWidth.
Returns: Returns the codePageRange1.
Returns: Returns the codePageRange2.
Returns: Returns the familyClass.
Returns: Returns the firstCharIndex.
Returns: Returns the fsSelection.
Returns: Returns the fsType.
Returns: Returns the lastCharIndex.
Returns: Returns the panose.
Returns: Returns the strikeoutPosition.
Returns: Returns the strikeoutSize.
Returns: Returns the subscriptXOffset.
Returns: Returns the subscriptXSize.
Returns: Returns the subscriptYOffset.
Returns: Returns the subscriptYSize.
Returns: Returns the superscriptXOffset.
Returns: Returns the superscriptXSize.
Returns: Returns the superscriptYOffset.
Returns: Returns the superscriptYSize.
Returns: Returns the typeLineGap.
Returns: Returns the typoAscender.
Returns: Returns the typoDescender.
Returns: Returns the unicodeRange1.
Returns: Returns the unicodeRange2.
Returns: Returns the unicodeRange3.
Returns: Returns the unicodeRange4.
Returns: Returns the version.
Returns: Returns the weightClass.
Returns: Returns the widthClass.
Returns: Returns the winAscent.
Returns: Returns the winDescent.
Parameters: ttf The font that is being read. data The stream to read the data from.
Throws: IOException If there is an error reading the data.
Parameters: achVendIdValue The achVendId to set.
Parameters: averageCharWidthValue The averageCharWidth to set.
Parameters: codePageRange1Value The codePageRange1 to set.
Parameters: codePageRange2Value The codePageRange2 to set.
Parameters: familyClassValue The familyClass to set.
Parameters: firstCharIndexValue The firstCharIndex to set.
Parameters: fsSelectionValue The fsSelection to set.
Parameters: fsTypeValue The fsType to set.
Parameters: lastCharIndexValue The lastCharIndex to set.
Parameters: panoseValue The panose to set.
Parameters: strikeoutPositionValue The strikeoutPosition to set.
Parameters: strikeoutSizeValue The strikeoutSize to set.
Parameters: subscriptXOffsetValue The subscriptXOffset to set.
Parameters: subscriptXSizeValue The subscriptXSize to set.
Parameters: subscriptYOffsetValue The subscriptYOffset to set.
Parameters: subscriptYSizeValue The subscriptYSize to set.
Parameters: superscriptXOffsetValue The superscriptXOffset to set.
Parameters: superscriptXSizeValue The superscriptXSize to set.
Parameters: superscriptYOffsetValue The superscriptYOffset to set.
Parameters: superscriptYSizeValue The superscriptYSize to set.
Parameters: typeLineGapValue The typeLineGap to set.
Parameters: typoAscenderValue The typoAscender to set.
Parameters: typoDescenderValue The typoDescender to set.
Parameters: unicodeRange1Value The unicodeRange1 to set.
Parameters: unicodeRange2Value The unicodeRange2 to set.
Parameters: unicodeRange3Value The unicodeRange3 to set.
Parameters: unicodeRange4Value The unicodeRange4 to set.
Parameters: versionValue The version to set.
Parameters: weightClassValue The weightClass to set.
Parameters: widthClassValue The widthClass to set.
Parameters: winAscentValue The winAscent to set.
Parameters: winDescentValue The winDescent to set.