Kozea / cairocffi

CFFI-based cairo bindings for Python.
https://doc.courtbouillon.org/cairocffi
BSD 3-Clause "New" or "Revised" License
208 stars 54 forks source link

Use pikepdf to parse generated PDF #205

Closed felixonmars closed 2 years ago

felixonmars commented 2 years ago

This fixed the test failures with latest cairo (#204). pikepdf was chosen because it is modern and based on a mature PDF library (qpdf).

felixonmars commented 2 years ago

Test failures are not relevant (https://github.com/tholo/pytest-flake8/issues/87)

liZe commented 2 years ago

Thanks a lot for the pull request.

We’ll fix the problem with pytest-flake8 in another commit.

I hope that pikepdf will continue to provide wheels, otherwise we may want to use another pure-Python library. But there’s no need to fix something that’s not broken yet!