|
fop 0.93 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.fop.fonts.Typeface
org.apache.fop.fonts.CustomFont
org.apache.fop.fonts.CIDFont
org.apache.fop.fonts.MultiByteFont
Generic MultiByte (CID) font
| Field Summary | |
static char |
INVALID_UNICODE_CHAR
The invalid Unicode character, suitable as a return value in methods that need to return an invalid character. |
| Fields inherited from class org.apache.fop.fonts.CIDFont |
usedCharsIndex, usedGlyphs, usedGlyphsCount, usedGlyphsIndex, width |
| Fields inherited from class org.apache.fop.fonts.CustomFont |
embedResourceName |
| Constructor Summary | |
MultiByteFont()
Default constructor |
|
| Method Summary | |
char[] |
getCharsUsed()
Returns char[] array . |
java.lang.String |
getCidBaseFont()
Returns the name of the base font. |
CIDFontType |
getCIDType()
Returns the type of the CID font. |
int |
getDefaultWidth()
Returns the default width for this font. |
java.lang.String |
getEncoding()
Get the encoding of the font. |
java.lang.String |
getFontName()
Returns the font name. |
java.lang.String |
getOrdering()
Returns a font name for use within a registry. |
java.lang.String |
getRegistry()
Returns the name of the issuer of the font. |
int |
getSupplement()
Returns the supplement number of the character collection. |
java.lang.String |
getTTCName()
Returns the TrueType Collection Name. |
java.util.Map |
getUsedGlyphs()
Returns a Map of used Glyphs. |
int |
getWidth(int i,
int size)
Return the width (in 1/1000ths of point size) of the character at code point i. |
int[] |
getWidths()
Return the array of widths. |
boolean |
hasChar(char c)
Determines whether this font contains a particular character/glyph. |
boolean |
isEmbeddable()
Indicates if this font may be embedded. |
char |
mapChar(char c)
Map a Unicode character to a code point in the font. |
void |
setBFEntries(BFEntry[] bfentries)
Sets the bfentries. |
void |
setCIDType(CIDFontType cidType)
Sets the CIDType. |
void |
setDefaultWidth(int defaultWidth)
Sets the defaultWidth. |
void |
setTTCName(java.lang.String ttcName)
Sets the the TrueType Collection Name. |
void |
setWidthArray(int[] wds)
Sets the width array. |
| Methods inherited from class org.apache.fop.fonts.CIDFont |
isMultiByte |
| Methods inherited from class org.apache.fop.fonts.CustomFont |
getAscender, getAscender, getCapHeight, getCapHeight, getDescender, getDescender, getEmbedFileName, getEmbedFileSource, getEmbedResourceName, getFirstChar, getFlags, getFontBBox, getFontType, getItalicAngle, getKerningInfo, getLastChar, getMissingWidth, getStemV, getXHeight, hasKerningInfo, isKerningEnabled, putKerningEntry, setAscender, setCapHeight, setDescender, setEmbedFileName, setEmbedResourceName, setFirstChar, setFlags, setFontBBox, setFontName, setFontType, setItalicAngle, setKerningEnabled, setLastChar, setMissingWidth, setResolver, setStemV, setXHeight |
| Methods inherited from class org.apache.fop.fonts.Typeface |
getMaxAscent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.fop.fonts.FontMetrics |
getMaxAscent |
| Field Detail |
public static final char INVALID_UNICODE_CHAR
| Constructor Detail |
public MultiByteFont()
| Method Detail |
public int getDefaultWidth()
CIDFont
getDefaultWidth in class CIDFontCIDFont.getDefaultWidth()public java.lang.String getRegistry()
CIDFont
getRegistry in class CIDFontCIDFont.getRegistry()public java.lang.String getOrdering()
CIDFont
getOrdering in class CIDFontCIDFont.getOrdering()public int getSupplement()
CIDFont
getSupplement in class CIDFontCIDFont.getSupplement()public CIDFontType getCIDType()
CIDFont
getCIDType in class CIDFontCIDFont.getCIDType()public void setCIDType(CIDFontType cidType)
cidType - The cidType to setpublic java.lang.String getCidBaseFont()
CIDFont
getCidBaseFont in class CIDFontCIDFont.getCidBaseFont()public boolean isEmbeddable()
FontDescriptor
FontDescriptor.isEmbeddable()public java.lang.String getEncoding()
Typeface
getEncoding in class TypefaceTypeface.getEncoding()public java.lang.String getFontName()
FontMetrics
getFontName in interface FontMetricsgetFontName in class CustomFontFontMetrics.getFontName()
public int getWidth(int i,
int size)
FontMetrics
i - code point indexsize - font size
FontMetrics.getWidth(int, int)public int[] getWidths()
FontMetricsThis is used to get an array for inserting in an output format. It should not be used for lookup.
FontMetrics.getWidths()public char mapChar(char c)
Typeface
mapChar in class Typefacec - character to map
Typeface.mapChar(char)public boolean hasChar(char c)
Typeface
hasChar in class Typefacec - character to check
Typeface.hasChar(char)public void setBFEntries(BFEntry[] bfentries)
bfentries - The bfentries to setpublic void setDefaultWidth(int defaultWidth)
defaultWidth - The defaultWidth to setpublic java.lang.String getTTCName()
public void setTTCName(java.lang.String ttcName)
ttcName - the TrueType Collection Namepublic void setWidthArray(int[] wds)
wds - array of widths.public java.util.Map getUsedGlyphs()
public char[] getCharsUsed()
CIDFont
getCharsUsed in class CIDFontCIDFont.getCharsUsed()
|
fop 0.93 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||