3.1.3.1. AfmParser
¶
Reference: Adobe Font Metrics File Format Specification, Version 4.1, 7 October 1998
All measurements in AFM files are given in terms of units equal to 1/1000 of the scale factor (point size) of the font being used. To compute actual sizes in a document (in points; with 72 points = 1 inch), these amounts should be multiplied by (scale factor of font) / 1000.
-
class
PyDvi.Font.AfmParser.
AfmParser
(filename)[source]¶ Bases:
object
-
_logger
= <logging.Logger object>¶
-
-
exception
PyDvi.Font.AfmParser.
BadAfmFile
[source]¶ Bases:
exceptions.NameError