|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fonts.Typeface
public abstract class Typeface
Base class for PDF font classes
Constructor Summary | |
---|---|
Typeface()
|
Method Summary | |
---|---|
abstract java.lang.String |
getEncoding()
Get the encoding of the font. |
int |
getMaxAscent(int size)
Returns the maximum ascent of the font described by this FontMetrics object. |
boolean |
hadMappingOperations()
Indicates whether this font had to do any character mapping operations. |
abstract boolean |
hasChar(char c)
Determines whether this font contains a particular character/glyph. |
boolean |
isMultiByte()
Determines whether the font is a multibyte font. |
abstract char |
mapChar(char c)
Map a Unicode character to a code point in the font. |
protected void |
notifyMapOperation()
Used for keeping track of character mapping operations in order to determine if a font was used at all or not. |
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 |
---|
getAscender, getCapHeight, getDescender, getEmbedFontName, getFamilyNames, getFontName, getFontType, getFullName, getKerningInfo, getWidth, getWidths, getXHeight, hasKerningInfo |
Constructor Detail |
---|
public Typeface()
Method Detail |
---|
public abstract java.lang.String getEncoding()
public abstract char mapChar(char c)
c
- character to map
protected void notifyMapOperation()
public boolean hadMappingOperations()
public abstract boolean hasChar(char c)
c
- character to check
public boolean isMultiByte()
public int getMaxAscent(int size)
getMaxAscent
in interface FontMetrics
size
- font size
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |