|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.font.format.NullExtexFont
public class NullExtexFont
This class implements a dummy font which does not contain any characters.
| Constructor Summary | |
|---|---|
NullExtexFont()
|
|
| Method Summary | |
|---|---|
FontKey |
getActualFontKey()
Returns the actual FontKey for this font after a font substitution. |
FixedDimen |
getActualSize()
Returns the actual size of the font. |
FixedGlue |
getDepth(UnicodeChar uc)
Returns the depth of the char. |
FixedDimen |
getDesignSize()
Returns the design size of the font. |
FixedDimen |
getEm()
Returns the size of 'M'. |
FixedDimen |
getEx()
Returns the size of 'x'. |
FixedDimen |
getFontDimen(java.lang.String name)
Returns the size of the parameter with the name 'name'. |
FontKey |
getFontKey()
Returns the FontKey for this font. |
java.lang.String |
getFontName()
Returns the name of the font. |
FixedGlue |
getHeight(UnicodeChar uc)
Returns the height of the char. |
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. |
FixedCount |
getScaleFactor()
Returns the scale factor of the font. |
FixedGlue |
getSpace()
Returns the size of the 'space'. |
FixedGlue |
getWidth(UnicodeChar uc)
Returns the width of the char. |
boolean |
hasGlyph(UnicodeChar uc)
Returns true, if the glyph exists. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullExtexFont()
| Method Detail |
|---|
public FontKey getActualFontKey()
getActualFontKey in interface BaseFontBaseFont.getActualFontKey()public FixedDimen getActualSize()
getActualSize in interface ExtexFontExtexFont.getActualSize()public FixedGlue getDepth(UnicodeChar uc)
getDepth in interface ExtexFontuc - The Unicode char.
ExtexFont.getDepth(org.extex.core.UnicodeChar)public FixedDimen getDesignSize()
getDesignSize in interface ExtexFontExtexFont.getDesignSize()public FixedDimen getEm()
getEm in interface ExtexFontExtexFont.getEm()public FixedDimen getEx()
getEx in interface ExtexFontExtexFont.getEx()public FixedDimen getFontDimen(java.lang.String name)
The size are multiples of the design size!
getFontDimen in interface ExtexFontname - The name of the parameter.
ExtexFont.getFontDimen(java.lang.String)public FontKey getFontKey()
getFontKey in interface BaseFontBaseFont.getFontKey()public java.lang.String getFontName()
getFontName in interface ExtexFontExtexFont.getFontName()public FixedGlue getHeight(UnicodeChar uc)
getHeight in interface ExtexFontuc - The Unicode char.
ExtexFont.getHeight(org.extex.core.UnicodeChar)public FixedDimen getItalicCorrection(UnicodeChar uc)
getItalicCorrection in interface ExtexFontuc - The Unicode char.
ExtexFont.getItalicCorrection(org.extex.core.UnicodeChar)
public FixedDimen getKerning(UnicodeChar uc1,
UnicodeChar uc2)
getKerning in interface ExtexFontuc1 - The Unicode char (first one).uc2 - The Unicode char (second one).
ExtexFont.getKerning(org.extex.core.UnicodeChar,
org.extex.core.UnicodeChar)
public UnicodeChar getLigature(UnicodeChar uc1,
UnicodeChar uc2)
null is returned.
getLigature in interface ExtexFontuc1 - The Unicode char (first one).uc2 - The Unicode char (second one).
ExtexFont.getLigature(org.extex.core.UnicodeChar,
org.extex.core.UnicodeChar)public FixedCount getScaleFactor()
getScaleFactor in interface ExtexFontExtexFont.getScaleFactor()public FixedGlue getSpace()
getSpace in interface ExtexFontExtexFont.getSpace()public FixedGlue getWidth(UnicodeChar uc)
getWidth in interface ExtexFontuc - The Unicode char.
ExtexFont.getWidth(org.extex.core.UnicodeChar)public boolean hasGlyph(UnicodeChar uc)
true, if the glyph exists.
hasGlyph in interface ExtexFontuc - the unicode char
true, if the glyph exists.ExtexFont.hasGlyph(org.extex.core.UnicodeChar)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||