|
||||||||||||
| 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.CIDFont
org.apache.fop.render.pdf.fonts.MultiByteFont
Generic MultiByte (CID) font
| Field Summary | |
int |
ascender
|
BFEntry[] |
bfentries
|
int |
capHeight
|
byte |
cidType
|
int |
defaultWidth
|
int |
descender
|
PDFTTFStream |
embeddedFont
|
java.net.URL |
embedFileName
|
java.lang.String |
embedResourceName
|
java.lang.String |
encoding
|
int |
flags
|
int[] |
fontBBox
|
java.lang.String |
fontName
|
int |
italicAngle
|
java.util.Map |
kerning
|
int |
missingWidth
|
int |
stemV
|
java.lang.String |
ttcName
|
boolean |
useKerning
|
PDFWArray |
warray
|
int[] |
width
|
int |
xHeight
|
| Constructor Summary | |
MultiByteFont()
|
|
| 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()
|
java.lang.String |
getCidBaseFont()
|
byte |
getCidType()
|
int |
getDefaultWidth()
|
int |
getDescender()
|
int |
getDescender(int size)
|
int |
getFirstChar()
|
int |
getFlags()
|
int[] |
getFontBBox()
|
PDFStream |
getFontFile(int i)
|
int |
getItalicAngle()
|
java.util.Map |
getKerningInfo()
|
java.lang.String |
getLang()
|
int |
getLastChar()
|
int |
getleading()
|
int |
getMaxWidth()
|
int |
getMinWidth()
|
int |
getMissingWidth()
|
java.lang.String |
getOrdering()
|
java.lang.String |
getPanose()
|
java.lang.String |
getRegistry()
|
int |
getStemH()
|
int |
getStemV()
|
byte |
getSubType()
get the subtype of the font, default is TYPE1 |
int |
getSupplement()
|
PDFWArray |
getWidths()
|
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 |
java.lang.Integer |
reMap(java.lang.Integer i)
|
int |
width(int i,
int size)
return width (in 1/1000ths of point size) of character at code point i |
| Methods inherited from class org.apache.fop.render.pdf.CIDFont |
getCMap |
| 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 ttcName
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 PDFTTFStream embeddedFont
public int flags
public int stemV
public int italicAngle
public int missingWidth
public int defaultWidth
public byte cidType
public java.util.Map kerning
public boolean useKerning
public PDFWArray warray
public int[] width
public BFEntry[] bfentries
| Constructor Detail |
public MultiByteFont()
| 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 java.lang.String getLang()
public java.lang.String getPanose()
public int getAvgWidth()
public int getMinWidth()
public int getMaxWidth()
public int getleading()
public int getStemH()
public int getMissingWidth()
public int getDefaultWidth()
getDefaultWidth in class CIDFontpublic java.lang.String getRegistry()
getRegistry in class CIDFontpublic java.lang.String getOrdering()
getOrdering in class CIDFontpublic int getSupplement()
getSupplement in class CIDFontpublic byte getCidType()
getCidType in class CIDFontpublic java.lang.String getCidBaseFont()
getCidBaseFont in class CIDFontpublic java.lang.String getCharEncoding()
getCharEncoding in class CIDFontpublic PDFWArray getWidths()
getWidths in class CIDFontpublic 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 java.lang.Integer reMap(java.lang.Integer i)
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 | |||||||||||