|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.font.format.afm.AfmCharMetric
public class AfmCharMetric
Class for the AFM CharMetric.
| Constructor Summary | |
|---|---|
AfmCharMetric()
|
|
| Method Summary | |
|---|---|
void |
addK(AfmKernPairs kp)
Add a kerning. |
void |
addL(java.lang.String letter,
java.lang.String lig)
Add a ligature. |
AfmKernPairs |
getAfmKernPair(java.lang.String charpost)
Returns a kerning pair for a letter, or null, if no
kerning is found. |
float |
getBllx()
Returns the bllx. |
float |
getBlly()
Returns the blly. |
float |
getBurx()
Returns the burx. |
float |
getBury()
Returns the bury. |
int |
getC()
Returns the c. |
float |
getDepth()
Returns the depth of a glyph. |
float |
getHeight()
Returns the height of a glyph. |
java.util.List<AfmKernPairs> |
getK()
Returns the kerning. |
java.util.Map<java.lang.String,java.lang.String> |
getL()
Returns the l. |
java.lang.String |
getLigature(java.lang.String letter)
Returns the ligature for a letter or null, if no ligature
found. |
java.lang.String |
getN()
Returns the n. |
float |
getWidth()
Returns the width of a glyph. |
float |
getWx()
Returns the wx. |
boolean |
isKerning()
Check, if the char has a kerning. |
boolean |
isLigatur()
Check, if the char has a ligature. |
void |
setBllx(float ibllx)
Set the bllx. |
void |
setBlly(float iblly)
Set the blly. |
void |
setBurx(float iburx)
Set the burx. |
void |
setBury(float ibury)
Set the bury. |
void |
setC(int ic)
Set the c. |
void |
setN(java.lang.String s)
Set the n. |
void |
setWx(float iwx)
Set the wx. |
java.lang.String |
toString()
Return the name and the number of the glyph. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AfmCharMetric()
| Method Detail |
|---|
public void addK(AfmKernPairs kp)
kp - The kerning pairs.
public void addL(java.lang.String letter,
java.lang.String lig)
letter - the basic letterlig - the ligaturepublic AfmKernPairs getAfmKernPair(java.lang.String charpost)
null, if no
kerning is found.
charpost - The post character.
null, if
no kerning is found.public float getBllx()
public float getBlly()
public float getBurx()
public float getBury()
public int getC()
public float getDepth()
public float getHeight()
public java.util.List<AfmKernPairs> getK()
public java.util.Map<java.lang.String,java.lang.String> getL()
public java.lang.String getLigature(java.lang.String letter)
null, if no ligature
found.
letter - The letter.
null, if no
ligature found.public java.lang.String getN()
public float getWidth()
public float getWx()
public boolean isKerning()
true, if the char has a kerning.public boolean isLigatur()
true, if the char has a ligature.public void setBllx(float ibllx)
ibllx - The bllx to set.public void setBlly(float iblly)
iblly - The blly to set.public void setBurx(float iburx)
iburx - The burx to set.public void setBury(float ibury)
ibury - The bury to set.public void setC(int ic)
ic - The c to set.public void setN(java.lang.String s)
s - The n to set.public void setWx(float iwx)
iwx - The wx to set.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||