|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.font.format.afm.AfmHeader
public class AfmHeader
AFM-Header.
| Field Summary | |
|---|---|
static float |
NOTINIT
not init. |
| Constructor Summary | |
|---|---|
AfmHeader()
Create a new object. |
|
| Method Summary | |
|---|---|
void |
addComment(java.lang.String com)
Add a comment to the string. |
void |
addNotice(java.lang.String not)
Add a notice to the string. |
float |
getAscender()
Returns the ascender. |
float |
getCapheight()
Returns the capheight. |
java.lang.String |
getCharacterset()
Returns the characterset. |
java.lang.String |
getComment()
Getter for comment. |
float |
getDescender()
Returns the descender. |
java.lang.String |
getEncodingscheme()
Returns the encodingscheme. |
java.lang.String |
getFamilyname()
Returns the familyname. |
java.lang.String |
getFontname()
Returns the fontname. |
java.lang.String |
getFullname()
Returns the fullname. |
float |
getItalicangle()
Returns the italicangle. |
float |
getLlx()
Returns the llx. |
float |
getLly()
Returns the lly. |
java.lang.String |
getNotice()
Getter for notice. |
float |
getStdhw()
Returns the stdhw. |
float |
getStdvw()
Returns the stdvw. |
float |
getUnderlineposition()
Returns the underlineposition. |
float |
getUnderlinethickness()
Returns the underlinethickness. |
float |
getUrx()
Returns the urx. |
float |
getUry()
Returns the ury. |
java.lang.String |
getWeight()
Returns the weight. |
float |
getXheight()
Returns the xheight. |
boolean |
isFixedpitch()
Returns the isfixedpitch. |
boolean |
isIsfixedpitch()
Getter for isfixedpitch. |
void |
setAscender(float a)
Set the ascender. |
void |
setCapheight(float height)
Set the capheight. |
void |
setCharacterset(java.lang.String cs)
Set the characterset. |
void |
setComment(java.lang.String comment)
Setter for comment. |
void |
setDescender(float d)
Set the desender. |
void |
setEncodingscheme(java.lang.String encoding)
Set the encodingscheme. |
void |
setFamilyname(java.lang.String fname)
Set the familyname. |
void |
setFixedpitch(boolean fixedpitch)
Set the isfixedpitch. |
void |
setFontname(java.lang.String fname)
Set the fontname. |
void |
setFullname(java.lang.String fname)
Set the fullname. |
void |
setIsfixedpitch(boolean isfixedpitch)
Setter for isfixedpitch. |
void |
setItalicangle(float i)
Set the italicangle. |
void |
setLlx(float x)
Set the llx. |
void |
setLly(float y)
Set the lly. |
void |
setNotice(java.lang.String notice)
Setter for notice. |
void |
setStdhw(float hw)
Set the stdhw. |
void |
setStdvw(float vw)
Set the stdvw. |
void |
setUnderlineposition(float position)
Set the underlineposition. |
void |
setUnderlinethickness(float thickness)
Set the thickness. |
void |
setUrx(float x)
Set the urx. |
void |
setUry(float y)
Set the ury. |
void |
setWeight(java.lang.String w)
Set the weight. |
void |
setXheight(float x)
Set the xheight. |
void |
writeXML(XMLStreamWriter writer)
Write the data to a XMLStreamWriter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final float NOTINIT
| Constructor Detail |
|---|
public AfmHeader()
| Method Detail |
|---|
public void addComment(java.lang.String com)
com - The comment to add.public void addNotice(java.lang.String not)
not - The notice to add.public float getAscender()
public float getCapheight()
public java.lang.String getCharacterset()
public java.lang.String getComment()
public float getDescender()
public java.lang.String getEncodingscheme()
public java.lang.String getFamilyname()
public java.lang.String getFontname()
public java.lang.String getFullname()
public float getItalicangle()
public float getLlx()
public float getLly()
public java.lang.String getNotice()
public float getStdhw()
public float getStdvw()
public float getUnderlineposition()
public float getUnderlinethickness()
public float getUrx()
public float getUry()
public java.lang.String getWeight()
public float getXheight()
public boolean isFixedpitch()
public boolean isIsfixedpitch()
public void setAscender(float a)
a - The ascender to set.public void setCapheight(float height)
height - The capheight to set.public void setCharacterset(java.lang.String cs)
cs - The characterset to set.public void setComment(java.lang.String comment)
comment - the comment to setpublic void setDescender(float d)
d - The descender to set.public void setEncodingscheme(java.lang.String encoding)
encoding - The encodingscheme to set.public void setFamilyname(java.lang.String fname)
fname - The familyname to set.public void setFixedpitch(boolean fixedpitch)
fixedpitch - The isfixedpitch to set.public void setFontname(java.lang.String fname)
fname - The fontname to set.public void setFullname(java.lang.String fname)
fname - The fullname to set.public void setIsfixedpitch(boolean isfixedpitch)
isfixedpitch - the isfixedpitch to setpublic void setItalicangle(float i)
i - The italicangle to set.public void setLlx(float x)
x - The llx to set.public void setLly(float y)
y - The lly to set.public void setNotice(java.lang.String notice)
notice - the notice to setpublic void setStdhw(float hw)
hw - The stdhw to set.public void setStdvw(float vw)
vw - The stdvw to set.public void setUnderlineposition(float position)
position - The underlineposition to set.public void setUnderlinethickness(float thickness)
thickness - The underlinethickness to set.public void setUrx(float x)
x - The urx to set.public void setUry(float y)
y - The ury to set.public void setWeight(java.lang.String w)
w - The weight to set.public void setXheight(float x)
x - The xheight to set.
public void writeXML(XMLStreamWriter writer)
throws java.io.IOException
writeXML in interface XMLWriterConvertiblewriter - the XML-Writer
java.io.IOException - if an IO-error occurs.XMLWriterConvertible.writeXML(
org.extex.util.xml.XMLStreamWriter)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||