summaryrefslogtreecommitdiff
path: root/libmat2/pdf.py (follow)
AgeCommit message (Collapse)Author
2025-01-09Significantly improve portability0.13.5jvoisin
2024-09-13Catch a MemoryError in cairojvoisin
This should close #202
2023-09-07Properly handle a cairo exceptionjvoisin
2023-01-28Fix the type annotationsjvoisin
2022-10-09Get rid of a deprecated checkjvoisin
Nobody should be using Poppler < 0.46
2022-08-28Simplify the typing annotationsjvoisin
2022-03-28Fix the PDF versionjvoisin
This should prevent the testsuite from breaking, and marginally increase fingerprinting resistance.
2021-07-29libmat2/pdf: Drop printing 'lol'georg
It seems this was committed without intention to do so.
2021-07-25Fix pdf issues on printersAntonio Eugenio Burriel
pyCairo by default renders the PDF surfaces with a resolution of 72 dpi which is so low that the bitmap gets blurred compared to original. Since pyCairo 1.12.0, a new method set_device_scale(x_scale, y_scale) is added, which allows changing the canvas resolution.
2020-11-13Bump coveragejvoisin
2020-11-06Better handling of malformed pdfjvoisin
2020-02-08Remove a couple of residual metadata in pdfjvoisin
This commit takes care of removing residual metadata added by mat2 during the cleaning of pdf.
2019-11-30This is mat2, not MAT2georg
Closes #131
2018-10-23Improve type annotation coveragejvoisin
2018-10-12Bump mypy typing coveragejvoisin
2018-10-12Refactor lightweight mode implementationjvoisin
2018-09-24Second pass of minor formattingjvoisin
2018-09-24Fix some minor formatting issuesjvoisin
2018-09-01Logging cleanupdkg
2018-07-19Improve the code's documentationjvoisin
2018-07-10Remove `print` from libmat, and use the `logging` module insteadjvoisin
This should close #28
2018-07-07Bump the coverage for pdfjvoisin
2018-07-02Improve a bit the formatting of the code thanks to pyflakes3jvoisin
2018-06-24Ensure Poppler's minimal versionjvoisin
We're using methods that aren't available in Poppler below 0.46, so we're checking for this upon import. This commit is based on ideas from @LogicalDash ♥
2018-06-04Add more typing and use mypy in the CIjvoisin
2018-05-18Rename some files to simplify packagingjvoisin
- the `src` folder is now `libmat2` - the `main.py` script is now `mat2.py`