|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Font Interface
Method Summary | |
FixedGlue |
getDepth(UnicodeChar uc)
Returns the depth of the char. |
long |
getEfcode(UnicodeChar uc)
Getter for the ef code. |
Glyph |
getGlyph(UnicodeChar uc)
Deprecated. the use should be avoided in favor of the direct access methods |
FixedGlue |
getHeight(UnicodeChar uc)
Returns the height of the char. |
UnicodeChar |
getHyphenChar()
Return the hyphenation character. |
FixedDimen |
getItalicCorrection(UnicodeChar uc)
Returns the italic correction of the char. |
FixedDimen |
getKerning(UnicodeChar uc1,
UnicodeChar uc2)
Returns the kerning between two chars. |
UnicodeChar |
getLigature(UnicodeChar uc1,
UnicodeChar uc2)
Returns the ligature for two chars. |
UnicodeChar |
getSkewChar()
Return the skew character |
FixedGlue |
getWidth(UnicodeChar uc)
Returns the width of the char. |
boolean |
hasGlyph(UnicodeChar uc)
Determine whether the glyph for a given character is present in this font. |
void |
setEfcode(UnicodeChar uc,
long code)
Setter for the ef code. |
void |
setFontDimen(java.lang.String key,
Dimen value)
Setter for the font dimen register. |
void |
setHyphenChar(UnicodeChar hyphen)
Set the char for hyphenation. |
void |
setSkewChar(UnicodeChar skew)
Set the skew character. |
Methods inherited from interface de.dante.extex.font.type.Fount |
getActualSize, getBoundingBox, getCheckSum, getDesignSize, getEm, getEx, getFontByteArray, getFontDimen, getFontKey, getFontName, getLetterSpacing, getProperty, getSpace |
Method Detail |
public FixedGlue getDepth(UnicodeChar uc)
uc
- the Unicode char
public long getEfcode(UnicodeChar uc)
uc
- the character
public Glyph getGlyph(UnicodeChar uc)
UnicodeChar
, or
null, if the character is not defined.
uc
- the Unicode char
public FixedGlue getHeight(UnicodeChar uc)
uc
- the Unicode char
public UnicodeChar getHyphenChar()
public FixedDimen getItalicCorrection(UnicodeChar uc)
uc
- the Unicode char
public FixedDimen getKerning(UnicodeChar uc1, UnicodeChar uc2)
uc1
- the Unicode char (first one)uc2
- the Unicode char (second one)
public UnicodeChar getLigature(UnicodeChar uc1, UnicodeChar uc2)
uc1
- the Unicode char (first one)uc2
- the Unicode char (second one)
public UnicodeChar getSkewChar()
public FixedGlue getWidth(UnicodeChar uc)
uc
- the Unicode char
public boolean hasGlyph(UnicodeChar uc)
uc
- the character
true
iff the glyph is presentpublic void setEfcode(UnicodeChar uc, long code)
uc
- the charactercode
- the associated codepublic void setFontDimen(java.lang.String key, Dimen value)
key
- the keyvalue
- the value for the keypublic void setHyphenChar(UnicodeChar hyphen)
hyphen
- the char to setpublic void setSkewChar(UnicodeChar skew)
skew
- the new skew character
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |