Commit 57797eb
Type hints in _type1font.py
This file now passes `mypy --strict` (but its imports don't).
Improve error handling: a new class _ParseError instead of ValueError
or RuntimeError. Raise most of the errors from utility functions to
simplify the parsing logic. Move FontBBox parsing into a new utility
function.1 parent 47c6307 commit 57797eb
2 files changed
Lines changed: 424 additions & 180 deletions
0 commit comments