Skip to content

Commit 57797eb

Browse files
jkseppanQuLogic
authored andcommitted
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

File tree

0 commit comments

Comments
 (0)