org.apache.fop.render.pdf.fonts
Class SingleByteFont
java.lang.Object
|
+--org.apache.fop.render.pdf.Font
|
+--org.apache.fop.render.pdf.fonts.SingleByteFont
- public class SingleByteFont
- extends Font
- implements FontDescriptor
Generic SingleByte font
Methods inherited from class org.apache.fop.render.pdf.Font |
mapChar |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
fontName
public java.lang.String fontName
encoding
public java.lang.String encoding
capHeight
public int capHeight
xHeight
public int xHeight
ascender
public int ascender
descender
public int descender
fontBBox
public int[] fontBBox
embedFileName
public java.lang.String embedFileName
embedResourceName
public java.lang.String embedResourceName
embeddedFont
public PDFStream embeddedFont
firstChar
public int firstChar
lastChar
public int lastChar
flags
public int flags
stemV
public int stemV
italicAngle
public int italicAngle
missingWidth
public int missingWidth
kerning
public java.util.Hashtable kerning
useKerning
public boolean useKerning
width
public int[] width
subType
public byte subType
SingleByteFont
public SingleByteFont()
hasKerningInfo
public final boolean hasKerningInfo()
- Specified by:
- hasKerningInfo in interface FontDescriptor
getKerningInfo
public final java.util.Hashtable getKerningInfo()
- Specified by:
- getKerningInfo in interface FontDescriptor
getSubType
public byte getSubType()
- Description copied from class: Font
- get the subtype of the font, default is TYPE1
- Specified by:
- getSubType in interface FontDescriptor
- Overrides:
- getSubType in class Font
getAvgWidth
public int getAvgWidth()
getMinWidth
public int getMinWidth()
getMaxWidth
public int getMaxWidth()
getleading
public int getleading()
getStemH
public int getStemH()
getMissingWidth
public int getMissingWidth()
getCharEncoding
public java.lang.String getCharEncoding()
isEmbeddable
public boolean isEmbeddable()
- Specified by:
- isEmbeddable in interface FontDescriptor
getFontFile
public PDFStream getFontFile(int i)
- Specified by:
- getFontFile in interface FontDescriptor
encoding
public java.lang.String encoding()
- Description copied from class: Font
- get the encoding of the font
- Overrides:
- encoding in class Font
fontName
public java.lang.String fontName()
- Description copied from class: Font
- get the base font name
- Specified by:
- fontName in interface FontDescriptor
- Overrides:
- fontName in class Font
getAscender
public int getAscender()
- Specified by:
- getAscender in interface FontDescriptor
getDescender
public int getDescender()
- Specified by:
- getDescender in interface FontDescriptor
getCapHeight
public int getCapHeight()
- Specified by:
- getCapHeight in interface FontDescriptor
getAscender
public int getAscender(int size)
getCapHeight
public int getCapHeight(int size)
getDescender
public int getDescender(int size)
getXHeight
public int getXHeight(int size)
getFlags
public int getFlags()
- Specified by:
- getFlags in interface FontDescriptor
getFontBBox
public int[] getFontBBox()
- Specified by:
- getFontBBox in interface FontDescriptor
getItalicAngle
public int getItalicAngle()
- Specified by:
- getItalicAngle in interface FontDescriptor
getStemV
public int getStemV()
- Specified by:
- getStemV in interface FontDescriptor
getFirstChar
public int getFirstChar()
getLastChar
public int getLastChar()
width
public int width(int i,
int size)
- Description copied from interface: FontMetric
- return width (in 1/1000ths of point size) of character at
code point i
getWidths
public int[] getWidths(int size)
Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.