org.apache.fop.render.pdf.fonts
Class MultiByteFont
java.lang.Object
|
+--org.apache.fop.render.pdf.Font
|
+--org.apache.fop.render.pdf.CIDFont
|
+--org.apache.fop.render.pdf.fonts.MultiByteFont
- All Implemented Interfaces:
- FontDescriptor, FontMetric
- public class MultiByteFont
- extends CIDFont
- implements FontDescriptor
Generic MultiByte (CID) font
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 |
fontName
public java.lang.String fontName
ttcName
public java.lang.String ttcName
encoding
public java.lang.String encoding
capHeight
public int capHeight
xHeight
public int xHeight
ascender
public int ascender
descender
public int descender
fontBBox
public int[] fontBBox
embedFileName
public java.net.URL embedFileName
embedResourceName
public java.lang.String embedResourceName
embeddedFont
public PDFTTFStream embeddedFont
flags
public int flags
stemV
public int stemV
italicAngle
public int italicAngle
missingWidth
public int missingWidth
defaultWidth
public int defaultWidth
cidType
public byte cidType
kerning
public java.util.Map kerning
useKerning
public boolean useKerning
warray
public PDFWArray warray
width
public int[] width
bfentries
public BFEntry[] bfentries
MultiByteFont
public MultiByteFont()
hasKerningInfo
public final boolean hasKerningInfo()
- Specified by:
hasKerningInfo
in interface FontDescriptor
getKerningInfo
public final java.util.Map getKerningInfo()
- Specified by:
getKerningInfo
in interface FontDescriptor
getSubType
public byte getSubType()
- Description copied from class:
Font
- get the subtype of the font, default is TYPE1
- Specified by:
getSubType
in interface FontDescriptor
- Overrides:
getSubType
in class Font
getLang
public java.lang.String getLang()
getPanose
public java.lang.String getPanose()
getAvgWidth
public int getAvgWidth()
getMinWidth
public int getMinWidth()
getMaxWidth
public int getMaxWidth()
getleading
public int getleading()
getStemH
public int getStemH()
getMissingWidth
public int getMissingWidth()
getDefaultWidth
public int getDefaultWidth()
- Overrides:
getDefaultWidth
in class CIDFont
getRegistry
public java.lang.String getRegistry()
- Overrides:
getRegistry
in class CIDFont
getOrdering
public java.lang.String getOrdering()
- Overrides:
getOrdering
in class CIDFont
getSupplement
public int getSupplement()
- Overrides:
getSupplement
in class CIDFont
getCidType
public byte getCidType()
- Overrides:
getCidType
in class CIDFont
getCidBaseFont
public java.lang.String getCidBaseFont()
- Overrides:
getCidBaseFont
in class CIDFont
getCharEncoding
public java.lang.String getCharEncoding()
- Overrides:
getCharEncoding
in class CIDFont
getWidths
public PDFWArray getWidths()
- Overrides:
getWidths
in class CIDFont
isEmbeddable
public boolean isEmbeddable()
- Specified by:
isEmbeddable
in interface FontDescriptor
getFontFile
public PDFStream getFontFile(int i)
- Specified by:
getFontFile
in interface FontDescriptor
encoding
public java.lang.String encoding()
- Description copied from class:
Font
- get the encoding of the font
- Overrides:
encoding
in class Font
fontName
public java.lang.String fontName()
- Description copied from class:
Font
- get the base font name
- Specified by:
fontName
in interface FontDescriptor
- Overrides:
fontName
in class Font
getAscender
public int getAscender()
- Specified by:
getAscender
in interface FontDescriptor
getDescender
public int getDescender()
- Specified by:
getDescender
in interface FontDescriptor
getCapHeight
public int getCapHeight()
- Specified by:
getCapHeight
in interface FontDescriptor
getAscender
public int getAscender(int size)
getCapHeight
public int getCapHeight(int size)
getDescender
public int getDescender(int size)
getXHeight
public int getXHeight(int size)
getFlags
public int getFlags()
- Specified by:
getFlags
in interface FontDescriptor
getFontBBox
public int[] getFontBBox()
- Specified by:
getFontBBox
in interface FontDescriptor
getItalicAngle
public int getItalicAngle()
- Specified by:
getItalicAngle
in interface FontDescriptor
getStemV
public int getStemV()
- Specified by:
getStemV
in interface FontDescriptor
getFirstChar
public int getFirstChar()
getLastChar
public int getLastChar()
width
public int width(int i,
int size)
- Description copied from interface:
FontMetric
- return width (in 1/1000ths of point size) of character at
code point i
getWidths
public int[] getWidths(int size)
reMap
public java.lang.Integer reMap(java.lang.Integer i)
mapChar
public char mapChar(char c)
- Description copied from class:
Font
- map a Unicode character to a code point in the font
- Overrides:
mapChar
in class Font
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.