|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.font.format.xtf.tables.cff.CffFont
public class CffFont
Class for a CffFont.
| Constructor Summary | |
|---|---|
CffFont(java.lang.String fontname,
int number)
Creates a new object. |
|
| Method Summary | |
|---|---|
void |
addTopDictIndex(T2Operator op)
Add an entry to the top dict index. |
int |
getBlueFuzz()
Returns the BlueFuzz. |
double |
getBlueScale()
Returns the BlueScale. |
int |
getBlueShift()
Returns the BlueShift. |
int[] |
getBlueValues()
Returns the BlueValues. |
OtfTableCFF |
getCff()
Getter for cff. |
T2TDOCharset |
getCharset()
Getter for charset. |
CharString |
getCharstring(java.lang.String name)
Returns the CharString with the name or null, if
not found. |
int |
getCharstringType()
Returns the CharstringType. |
java.lang.String |
getCopyright()
Getter for copyright. |
int |
getDefaultWidthX()
Returns the defaultWidthX. |
java.lang.String |
getEncoding()
Return the name of the encoding. |
double |
getExpansionFactor()
Returns the ExpansionFactor. |
java.lang.String |
getFamilyName()
Getter for familyname. |
int[] |
getFontBBox()
Returns the FontBBox. |
double[] |
getFontMatrix()
Returns the FontMatrix. |
int |
getFontNumber()
Getter for fontnumber. |
boolean |
getForceBold()
Returns the ForceBold. |
java.lang.String |
getFullName()
Getter for fullname. |
int |
getInitialRandomSeed()
Returns the initialRandomSeed. |
int |
getItalicAngle()
Getter for italicangle. |
int |
getLanguageGroup()
Returns the LanguageGroup. |
java.lang.String |
getName()
Getter for name. |
java.lang.String |
getNameForPos(int pos)
|
int |
getNominalWidthX()
Returns the nominalWidthX. |
java.lang.String |
getNotice()
Getter for notice. |
int |
getNumberOfGlyphs()
Getter for numberOfGlyphs. |
int |
getPaintType()
Getter for painttype. |
java.lang.String |
getPostscript()
Getter for postscript. |
int |
getStdHW()
Returns the StdHW. |
int |
getStdVW()
Returns the StdVW. |
int[] |
getStemSnapH()
Returns the StemSnapH. |
int[] |
getStemSnapV()
Returns the StemSnapV. |
int |
getStrokewidth()
Getter for strokewidth. |
CharString |
getSubrs(int idx)
Returns the CharString (subrs) with the index or
null, if not found. |
T2Operator |
getTopDictIndex(java.lang.String name)
Returns the top dict index entry, if no entry found, null
is returned. |
int |
getUnderlinePosition()
Getter for underlineposition. |
int |
getUnderlineThickness()
Getter for underlinethickness. |
java.lang.String |
getVersion()
Getter for version. |
java.lang.String |
getWeight()
Getter for weight. |
void |
init(RandomAccessR rar,
OtfTableCFF cff,
int baseoffset)
Initialize the font. |
boolean |
isCid()
Getter for isCID. |
boolean |
isFixedPitch()
Getter for isfixedpitch. |
java.lang.String |
toString()
|
void |
writeXML(XMLStreamWriter writer)
Write the data to a XMLStreamWriter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CffFont(java.lang.String fontname,
int number)
fontname - The name of the font.number - The number.| Method Detail |
|---|
public void addTopDictIndex(T2Operator op)
op - The T2 operator.public int getBlueFuzz()
public double getBlueScale()
public int getBlueShift()
public int[] getBlueValues()
public OtfTableCFF getCff()
public T2TDOCharset getCharset()
public CharString getCharstring(java.lang.String name)
CharString with the name or null, if
not found.
name - The name of the charstring.
CharString with the name.public int getCharstringType()
public java.lang.String getCopyright()
public int getDefaultWidthX()
public java.lang.String getEncoding()
public double getExpansionFactor()
public java.lang.String getFamilyName()
public int[] getFontBBox()
public double[] getFontMatrix()
public int getFontNumber()
public boolean getForceBold()
public java.lang.String getFullName()
public int getInitialRandomSeed()
public int getItalicAngle()
public int getLanguageGroup()
public java.lang.String getName()
public java.lang.String getNameForPos(int pos)
T2TDOCharset.getNameForPos(int)public int getNominalWidthX()
public java.lang.String getNotice()
public int getNumberOfGlyphs()
public int getPaintType()
public java.lang.String getPostscript()
public int getStdHW()
public int getStdVW()
public int[] getStemSnapH()
public int[] getStemSnapV()
public int getStrokewidth()
public CharString getSubrs(int idx)
CharString (subrs) with the index or
null, if not found.
idx - The index.
CharString with the index.public T2Operator getTopDictIndex(java.lang.String name)
null
is returned.
name - The name of the entry.
public int getUnderlinePosition()
public int getUnderlineThickness()
public java.lang.String getVersion()
public java.lang.String getWeight()
public void init(RandomAccessR rar,
OtfTableCFF cff,
int baseoffset)
throws java.io.IOException
rar - The input.cff - The cff table.baseoffset - The baseoffset of the table.
java.io.IOException - if a io-error occurred.public boolean isCid()
public boolean isFixedPitch()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
public void writeXML(XMLStreamWriter writer)
throws java.io.IOException
XMLWriterConvertible
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 | |||||||||