|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.pdf.Font
org.apache.fop.render.pdf.fonts.SingleByteFont
Generic SingleByte font
Field Summary | |
int |
ascender
|
int |
capHeight
|
int |
descender
|
PDFStream |
embeddedFont
|
java.net.URL |
embedFileName
|
java.lang.String |
embedResourceName
|
java.lang.String |
encoding
|
int |
firstChar
|
int |
flags
|
int[] |
fontBBox
|
java.lang.String |
fontName
|
int |
italicAngle
|
java.util.Map |
kerning
|
int |
lastChar
|
int |
missingWidth
|
int |
stemV
|
byte |
subType
|
boolean |
useKerning
|
int[] |
width
|
int |
xHeight
|
Constructor Summary | |
SingleByteFont()
|
Method Summary | |
java.lang.String |
encoding()
get the encoding of the font |
java.lang.String |
fontName()
get the base font name |
int |
getAscender()
|
int |
getAscender(int size)
|
int |
getAvgWidth()
|
int |
getCapHeight()
|
int |
getCapHeight(int size)
|
java.lang.String |
getCharEncoding()
|
int |
getDescender()
|
int |
getDescender(int size)
|
int |
getFirstChar()
|
int |
getFlags()
|
int[] |
getFontBBox()
|
PDFStream |
getFontFile(int i)
|
int |
getItalicAngle()
|
java.util.Map |
getKerningInfo()
|
int |
getLastChar()
|
int |
getleading()
|
int |
getMaxWidth()
|
int |
getMinWidth()
|
int |
getMissingWidth()
|
int |
getStemH()
|
int |
getStemV()
|
byte |
getSubType()
get the subtype of the font, default is TYPE1 |
int[] |
getWidths(int size)
|
int |
getXHeight(int size)
|
boolean |
hasKerningInfo()
|
boolean |
isEmbeddable()
|
char |
mapChar(char c)
map a Unicode character to a code point in the font |
int |
width(int i,
int size)
return width (in 1/1000ths of point size) of character at code point i |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String fontName
public java.lang.String encoding
public int capHeight
public int xHeight
public int ascender
public int descender
public int[] fontBBox
public java.net.URL embedFileName
public java.lang.String embedResourceName
public PDFStream embeddedFont
public int firstChar
public int lastChar
public int flags
public int stemV
public int italicAngle
public int missingWidth
public java.util.Map kerning
public boolean useKerning
public int[] width
public byte subType
Constructor Detail |
public SingleByteFont()
Method Detail |
public final boolean hasKerningInfo()
hasKerningInfo
in interface FontDescriptor
public final java.util.Map getKerningInfo()
getKerningInfo
in interface FontDescriptor
public byte getSubType()
Font
getSubType
in interface FontDescriptor
getSubType
in class Font
public int getAvgWidth()
public int getMinWidth()
public int getMaxWidth()
public int getleading()
public int getStemH()
public int getMissingWidth()
public java.lang.String getCharEncoding()
public boolean isEmbeddable()
isEmbeddable
in interface FontDescriptor
public PDFStream getFontFile(int i)
getFontFile
in interface FontDescriptor
public java.lang.String encoding()
Font
encoding
in class Font
public java.lang.String fontName()
Font
fontName
in interface FontDescriptor
fontName
in class Font
public int getAscender()
getAscender
in interface FontDescriptor
public int getDescender()
getDescender
in interface FontDescriptor
public int getCapHeight()
getCapHeight
in interface FontDescriptor
public int getAscender(int size)
getAscender
in interface FontMetric
public int getCapHeight(int size)
getCapHeight
in interface FontMetric
public int getDescender(int size)
getDescender
in interface FontMetric
public int getXHeight(int size)
getXHeight
in interface FontMetric
public int getFlags()
getFlags
in interface FontDescriptor
public int[] getFontBBox()
getFontBBox
in interface FontDescriptor
public int getItalicAngle()
getItalicAngle
in interface FontDescriptor
public int getStemV()
getStemV
in interface FontDescriptor
public int getFirstChar()
getFirstChar
in interface FontMetric
public int getLastChar()
getLastChar
in interface FontMetric
public int width(int i, int size)
FontMetric
width
in interface FontMetric
public int[] getWidths(int size)
getWidths
in interface FontMetric
public char mapChar(char c)
Font
mapChar
in class Font
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |