|
|||||||||||
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(URL fontEmbedPath,
URL metricsFile,
boolean useKerning)
|
Method Summary | |
String |
encoding()
get the encoding of the font |
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()
|
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(URL fontEmbedPath, URL metricsFile, boolean useKerning)
Method Detail |
public Font getRealFont()
public String encoding()
Font
encoding
in class Font
public String fontName()
Font
fontName
in interface FontDescriptor
fontName
in class Font
public byte getSubType()
Font
getSubType
in interface FontDescriptor
getSubType
in class Font
public char mapChar(char c)
Font
mapChar
in class Font
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 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 int getCapHeight()
getCapHeight
in interface FontDescriptor
public int getDescender()
getDescender
in interface FontDescriptor
public int getAscender()
getAscender
in interface FontDescriptor
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 boolean hasKerningInfo()
hasKerningInfo
in interface FontDescriptor
public Map getKerningInfo()
getKerningInfo
in interface FontDescriptor
public boolean isEmbeddable()
isEmbeddable
in interface FontDescriptor
public PDFStream getFontFile(int objNum)
getFontFile
in interface FontDescriptor
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |