com.openpcl.pclrenderimage.softfont
Class PriFontHeader
java.lang.Object
com.openpcl.pclrenderimage.softfont.PriFontHeader
- Direct Known Subclasses:
- PriBitmapFontHeader
public abstract class PriFontHeader
- extends Object
During soft creation a font header is specified. There are five
different header types.
This is a base class for all font header formats.
See PCL Technical Reference Soft Font Creation.
- Version:
- 1.0
- Author:
- BrainCoders.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HF_PCL_BITMAP
public static final int HF_PCL_BITMAP
- See Also:
- Constant Field Values
- To do:
- we should move this constants to different place
HF_INTELLIFONT_BOUND_SCALABLE
public static final int HF_INTELLIFONT_BOUND_SCALABLE
- See Also:
- Constant Field Values
HF_INTELLIFONT_UNBOUND_SCALABLE
public static final int HF_INTELLIFONT_UNBOUND_SCALABLE
- See Also:
- Constant Field Values
HF_TRUETYPE_SCALABLE
public static final int HF_TRUETYPE_SCALABLE
- See Also:
- Constant Field Values
HF_RESOLUTION_SPECIFIED_BITMAP
public static final int HF_RESOLUTION_SPECIFIED_BITMAP
- See Also:
- Constant Field Values
FT_BOUND_32_127_PRINTABLE
public static final int FT_BOUND_32_127_PRINTABLE
- See Also:
- Constant Field Values
FT_BOUND_32_127_AND_160_255_PRINTABLE
public static final int FT_BOUND_32_127_AND_160_255_PRINTABLE
- See Also:
- Constant Field Values
FT_BOUND_0_255_PRINTABLE
public static final int FT_BOUND_0_255_PRINTABLE
- See Also:
- Constant Field Values
FT_UNBOUND_MSL_NUMBERS
public static final int FT_UNBOUND_MSL_NUMBERS
- See Also:
- Constant Field Values
FT_UNBOUND_UNICODE_NUMBERS
public static final int FT_UNBOUND_UNICODE_NUMBERS
- See Also:
- Constant Field Values
fontDescriptorSize
protected int fontDescriptorSize
headerFormat
protected int headerFormat
fontType
protected int fontType
styleMSB
protected int styleMSB
baselinePosition
protected int baselinePosition
cellWidth
protected int cellWidth
cellHeight
protected int cellHeight
orientation
protected int orientation
spacing
protected boolean spacing
symbolset
protected int symbolset
pitch
protected int pitch
height
protected int height
xHeight
protected int xHeight
widthType
protected int widthType
styleLSB
protected int styleLSB
strokeWeight
protected int strokeWeight
typefaceLSB
protected int typefaceLSB
typefaceMSB
protected int typefaceMSB
serifStyle
protected int serifStyle
quality
protected int quality
placement
protected int placement
underlinePosition
protected int underlinePosition
underlineTickness
protected int underlineTickness
textHeight
protected int textHeight
textWidth
protected int textWidth
firstCode
protected int firstCode
lastCode
protected int lastCode
pitchExtended
protected int pitchExtended
heightExtended
protected int heightExtended
capHeight
protected int capHeight
fontNumber
protected int fontNumber
fontName
protected String fontName
PriFontHeader
public PriFontHeader()
init
protected void init(DataInputStream headerInput)
throws IOException
- Throws:
IOException
dump
public void dump()
getBaselinePosition
public int getBaselinePosition()
getCapHeight
public int getCapHeight()
getCellHeight
public int getCellHeight()
getCellWidth
public int getCellWidth()
getFirstCode
public int getFirstCode()
getFontName
public String getFontName()
getFontType
public int getFontType()
getFontNumber
public int getFontNumber()
getHeaderFormat
public int getHeaderFormat()
getHeight
public int getHeight()
getHeightExtended
public int getHeightExtended()
getLastCode
public int getLastCode()
getOrientation
public int getOrientation()
getPitch
public int getPitch()
getPitchExtended
public int getPitchExtended()
getPlacement
public int getPlacement()
getQuality
public int getQuality()
getSerifStyle
public int getSerifStyle()
getTextWidth
public int getTextWidth()
getSpacing
public boolean getSpacing()
getStrokeWeight
public int getStrokeWeight()
getStyleLSB
public int getStyleLSB()
getStyleMSB
public int getStyleMSB()
getSymbolset
public int getSymbolset()
getTextHeight
public int getTextHeight()
getTypefaceLSB
public int getTypefaceLSB()
getTypefaceMSB
public int getTypefaceMSB()
getUnderlinePosition
public int getUnderlinePosition()
getUnderlineTickness
public int getUnderlineTickness()
getWidthType
public int getWidthType()
getXHeight
public int getXHeight()
getFontDescriptorSize
public int getFontDescriptorSize()
OpenPCL http://www.openpcl.com