|
||||||||||||
| 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.LazyFont
| Constructor Summary | |
LazyFont(java.net.URL fontEmbedPath,
java.net.URL metricsFile,
boolean useKerning)
|
|
| 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 |
getCapHeight()
|
int |
getCapHeight(int size)
|
int |
getDescender()
|
int |
getDescender(int size)
|
int |
getFirstChar()
|
int |
getFlags()
|
int[] |
getFontBBox()
|
PDFStream |
getFontFile(int objNum)
|
int |
getItalicAngle()
|
java.util.Map |
getKerningInfo()
|
int |
getLastChar()
|
Font |
getRealFont()
|
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 |
| Constructor Detail |
public LazyFont(java.net.URL fontEmbedPath,
java.net.URL metricsFile,
boolean useKerning)
| Method Detail |
public Font getRealFont()
public java.lang.String encoding()
Font
encoding in class Fontpublic java.lang.String fontName()
Font
fontName in interface FontDescriptorfontName in class Fontpublic byte getSubType()
Font
getSubType in interface FontDescriptorgetSubType in class Fontpublic char mapChar(char c)
Font
mapChar in class Fontpublic 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 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 int getCapHeight()
getCapHeight in interface FontDescriptorpublic int getDescender()
getDescender in interface FontDescriptorpublic int getAscender()
getAscender in interface FontDescriptorpublic int getFlags()
getFlags in interface FontDescriptorpublic int[] getFontBBox()
getFontBBox in interface FontDescriptorpublic int getItalicAngle()
getItalicAngle in interface FontDescriptorpublic int getStemV()
getStemV in interface FontDescriptorpublic boolean hasKerningInfo()
hasKerningInfo in interface FontDescriptorpublic java.util.Map getKerningInfo()
getKerningInfo in interface FontDescriptorpublic boolean isEmbeddable()
isEmbeddable in interface FontDescriptorpublic PDFStream getFontFile(int objNum)
getFontFile in interface FontDescriptor
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||