|
||||||||||||
| 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 FontDescriptorpublic final java.util.Map getKerningInfo()
getKerningInfo in interface FontDescriptorpublic byte getSubType()
Font
getSubType in interface FontDescriptorgetSubType in class Fontpublic 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 FontDescriptorpublic PDFStream getFontFile(int i)
getFontFile in interface FontDescriptorpublic java.lang.String encoding()
Font
encoding in class Fontpublic java.lang.String fontName()
Font
fontName in interface FontDescriptorfontName in class Fontpublic int getAscender()
getAscender in interface FontDescriptorpublic int getDescender()
getDescender in interface FontDescriptorpublic int getCapHeight()
getCapHeight in interface FontDescriptorpublic int getAscender(int size)
getAscender in interface FontMetricpublic int getCapHeight(int size)
getCapHeight in interface FontMetricpublic int getDescender(int size)
getDescender in interface FontMetricpublic int getXHeight(int size)
getXHeight in interface FontMetricpublic int getFlags()
getFlags in interface FontDescriptorpublic int[] getFontBBox()
getFontBBox in interface FontDescriptorpublic int getItalicAngle()
getItalicAngle in interface FontDescriptorpublic int getStemV()
getStemV in interface FontDescriptorpublic int getFirstChar()
getFirstChar in interface FontMetricpublic int getLastChar()
getLastChar in interface FontMetric
public int width(int i,
int size)
FontMetric
width in interface FontMetricpublic int[] getWidths(int size)
getWidths in interface FontMetricpublic 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 | |||||||||||