-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More (internal) API shrinkification (#12)
* refactor!: remove no longer used things * refactor: use dataclasses for graphic/text state * feat: maintain pdfplumber compatibility in to_dict * chore: cleanup tests * refactor!: useless information hiding * feat: safer colours as named tuples * fix: no there is no RGBA and also just use tuples everywhere * feat!: flatten out layout items (FIXME: actually slower) * fix: optimize a bit but not enough! * fix: mandate named arguments in some places and remove useless copy * fix: remove unhelpful asserts * refactor: refactor away LTChar and render_string_foobar * refactor!: swallow up playa.layout entirely * fix: cache a thing, now we are faster again * fix: remove useless accessors * refactor!: remove most bespoke exceptions * refactor!: remove more LTStuff * refactor!: remove all LTStuff except one (to be one separately)
- Loading branch information
Showing
19 changed files
with
587 additions
and
1,024 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.