Home » pdfbox-1.1.0-src » org.apache.fontbox.ttf » [javadoc | source]
org.apache.fontbox.ttf
public class: OS2WindowsMetricsTable [javadoc | source]
java.lang.Object
   org.apache.fontbox.ttf.TTFTable
      org.apache.fontbox.ttf.OS2WindowsMetricsTable
A table in a true type font.
Field Summary
public static final  int WEIGHT_CLASS_THIN    Weight class constant. 
public static final  int WEIGHT_CLASS_ULTRA_LIGHT    Weight class constant. 
public static final  int WEIGHT_CLASS_LIGHT    Weight class constant. 
public static final  int WEIGHT_CLASS_NORMAL    Weight class constant. 
public static final  int WEIGHT_CLASS_MEDIUM    Weight class constant. 
public static final  int WEIGHT_CLASS_SEMI_BOLD    Weight class constant. 
public static final  int WEIGHT_CLASS_BOLD    Weight class constant. 
public static final  int WEIGHT_CLASS_EXTRA_BOLD    Weight class constant. 
public static final  int WEIGHT_CLASS_BLACK    Weight class constant. 
public static final  int WIDTH_CLASS_ULTRA_CONDENSED    Width class constant. 
public static final  int WIDTH_CLASS_EXTRA_CONDENSED    Width class constant. 
public static final  int WIDTH_CLASS_CONDENSED    Width class constant. 
public static final  int WIDTH_CLASS_SEMI_CONDENSED    Width class constant. 
public static final  int WIDTH_CLASS_MEDIUM    Width class constant. 
public static final  int WIDTH_CLASS_SEMI_EXPANDED    Width class constant. 
public static final  int WIDTH_CLASS_EXPANDED    Width class constant. 
public static final  int WIDTH_CLASS_EXTRA_EXPANDED    Width class constant. 
public static final  int WIDTH_CLASS_ULTRA_EXPANDED    Width class constant. 
public static final  int FAMILY_CLASS_NO_CLASSIFICATION    Family class constant. 
public static final  int FAMILY_CLASS_OLDSTYLE_SERIFS    Family class constant. 
public static final  int FAMILY_CLASS_TRANSITIONAL_SERIFS    Family class constant. 
public static final  int FAMILY_CLASS_MODERN_SERIFS    Family class constant. 
public static final  int FAMILY_CLASS_CLAREDON_SERIFS    Family class constant. 
public static final  int FAMILY_CLASS_SLAB_SERIFS    Family class constant. 
public static final  int FAMILY_CLASS_FREEFORM_SERIFS    Family class constant. 
public static final  int FAMILY_CLASS_SANS_SERIF    Family class constant. 
public static final  int FAMILY_CLASS_ORNAMENTALS    Family class constant. 
public static final  int FAMILY_CLASS_SCRIPTS    Family class constant. 
public static final  int FAMILY_CLASS_SYMBOLIC    Family class constant. 
public static final  String TAG    A tag that identifies this table type. 
Method from org.apache.fontbox.ttf.OS2WindowsMetricsTable Summary:
getAchVendId,   getAverageCharWidth,   getCodePageRange1,   getCodePageRange2,   getFamilyClass,   getFirstCharIndex,   getFsSelection,   getFsType,   getLastCharIndex,   getPanose,   getStrikeoutPosition,   getStrikeoutSize,   getSubscriptXOffset,   getSubscriptXSize,   getSubscriptYOffset,   getSubscriptYSize,   getSuperscriptXOffset,   getSuperscriptXSize,   getSuperscriptYOffset,   getSuperscriptYSize,   getTypeLineGap,   getTypoAscender,   getTypoDescender,   getUnicodeRange1,   getUnicodeRange2,   getUnicodeRange3,   getUnicodeRange4,   getVersion,   getWeightClass,   getWidthClass,   getWinAscent,   getWinDescent,   initData,   setAchVendId,   setAverageCharWidth,   setCodePageRange1,   setCodePageRange2,   setFamilyClass,   setFirstCharIndex,   setFsSelection,   setFsType,   setLastCharIndex,   setPanose,   setStrikeoutPosition,   setStrikeoutSize,   setSubscriptXOffset,   setSubscriptXSize,   setSubscriptYOffset,   setSubscriptYSize,   setSuperscriptXOffset,   setSuperscriptXSize,   setSuperscriptYOffset,   setSuperscriptYSize,   setTypeLineGap,   setTypoAscender,   setTypoDescender,   setUnicodeRange1,   setUnicodeRange2,   setUnicodeRange3,   setUnicodeRange4,   setVersion,   setWeightClass,   setWidthClass,   setWinAscent,   setWinDescent
Methods from org.apache.fontbox.ttf.TTFTable:
getCheckSum,   getLength,   getOffset,   getTag,   initData,   setCheckSum,   setLength,   setOffset,   setTag
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.fontbox.ttf.OS2WindowsMetricsTable Detail:
 public String getAchVendId() 
 public short getAverageCharWidth() 
 public long getCodePageRange1() 
 public long getCodePageRange2() 
 public short getFamilyClass() 
 public int getFirstCharIndex() 
 public int getFsSelection() 
 public short getFsType() 
 public int getLastCharIndex() 
 public byte[] getPanose() 
 public short getStrikeoutPosition() 
 public short getStrikeoutSize() 
 public short getSubscriptXOffset() 
 public short getSubscriptXSize() 
 public short getSubscriptYOffset() 
 public short getSubscriptYSize() 
 public short getSuperscriptXOffset() 
 public short getSuperscriptXSize() 
 public short getSuperscriptYOffset() 
 public short getSuperscriptYSize() 
 public int getTypeLineGap() 
 public int getTypoAscender() 
 public int getTypoDescender() 
 public long getUnicodeRange1() 
 public long getUnicodeRange2() 
 public long getUnicodeRange3() 
 public long getUnicodeRange4() 
 public int getVersion() 
 public int getWeightClass() 
 public int getWidthClass() 
 public int getWinAscent() 
 public int getWinDescent() 
 public  void initData(TrueTypeFont ttf,
    TTFDataStream data) throws IOException 
    This will read the required data from the stream.
 public  void setAchVendId(String achVendIdValue) 
 public  void setAverageCharWidth(short averageCharWidthValue) 
 public  void setCodePageRange1(long codePageRange1Value) 
 public  void setCodePageRange2(long codePageRange2Value) 
 public  void setFamilyClass(short familyClassValue) 
 public  void setFirstCharIndex(int firstCharIndexValue) 
 public  void setFsSelection(int fsSelectionValue) 
 public  void setFsType(short fsTypeValue) 
 public  void setLastCharIndex(int lastCharIndexValue) 
 public  void setPanose(byte[] panoseValue) 
 public  void setStrikeoutPosition(short strikeoutPositionValue) 
 public  void setStrikeoutSize(short strikeoutSizeValue) 
 public  void setSubscriptXOffset(short subscriptXOffsetValue) 
 public  void setSubscriptXSize(short subscriptXSizeValue) 
 public  void setSubscriptYOffset(short subscriptYOffsetValue) 
 public  void setSubscriptYSize(short subscriptYSizeValue) 
 public  void setSuperscriptXOffset(short superscriptXOffsetValue) 
 public  void setSuperscriptXSize(short superscriptXSizeValue) 
 public  void setSuperscriptYOffset(short superscriptYOffsetValue) 
 public  void setSuperscriptYSize(short superscriptYSizeValue) 
 public  void setTypeLineGap(int typeLineGapValue) 
 public  void setTypoAscender(int typoAscenderValue) 
 public  void setTypoDescender(int typoDescenderValue) 
 public  void setUnicodeRange1(long unicodeRange1Value) 
 public  void setUnicodeRange2(long unicodeRange2Value) 
 public  void setUnicodeRange3(long unicodeRange3Value) 
 public  void setUnicodeRange4(long unicodeRange4Value) 
 public  void setVersion(int versionValue) 
 public  void setWeightClass(int weightClassValue) 
 public  void setWidthClass(int widthClassValue) 
 public  void setWinAscent(int winAscentValue) 
 public  void setWinDescent(int winDescentValue)