A simple implementation for an adobe font metric object.
This implementation will hold all afm attributes in a generic collection. The
char metrics are read explicitly and held in a list of AFMChar's. No other
information (like kerning) is extracted.
See the "Adobe Font Metrics File Format Specification"
The string value for a generic attribute designated by name.
Parameters: name - The name of the attribute to lookup. The string value for a generic attribute designated byname.
The character representation for a byte code point given in
codePoint.
Parameters: codePoint - The byte code point. The character representation for a byte code point given incodePoint.
The character representation for an adobe glyph name given in
name.
Parameters: name - The adobe glyph name. The character representation for an adobe glyph name given inname.
Set a generic attribute value. The attributes value is given in
value,
the name of the attribute is name.
Parameters: name - The name of the attribute. Parameters: value - The value of the attribute.