Home | Trees | Index | Help |
|
---|
Package pyscript :: Module afm :: Class AFM |
|
Method Summary | |
---|---|
Initialisation of the AFM object | |
Gets an attribute of the font | |
Gets an item within the font | |
Returns the representation of the font object | |
Return a strings boundingbox in this font at the scale provided (relative to 1 point?) | |
Returns the characters in the font | |
Returns the comments in the font | |
Determins if the character exists in the font | |
Determines if the kerning pair exists in the font | |
Returns the kerning pairs in the font |
Method Details |
---|
__init__(self,
fontname)
Initialisation of the AFM object
|
__getattr__(self,
attr)
Gets an attribute of the font
|
__getitem__(self,
key)
Gets an item within the font
|
__repr__(self)
Returns the representation of the font object
|
bbox(self, string, size=1, kerning=0)Return a strings boundingbox in this font at the scale provided (relative to 1 point?)
|
chars(self)Returns the characters in the font |
comments(self)Returns the comments in the font |
has_char(self, char)Determins if the character exists in the font
|
has_kernpair(self, pair)Determines if the kerning pair exists in the font
|
kernpairs(self)Returns the kerning pairs in the font |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Apr 24 17:02:35 2006 | http://epydoc.sf.net |