Added
- Add support for PDF 2.0 (ISO 32000-2) AES-256 encryption (#614)
- Support for Paeth PNG filter compression (predictor value = 4) (#537)
- Type annotations (#661)
Fixed
KeyError
when'Encrypt'
but not'ID'
present intrailer
(#594)- Fix issue of ValueError and KeyError rasied in PDFdocument and PDFparser (#573)
- Fix issue of TypeError: cannot unpack non-iterable PDFObjRef object, when unpacking the value of 'DW2' (#529)
- Fix
PermissionError
when creating temporary filepaths on windows when running tests (#484) - Fix
AttributeError
when dumping a TOC with bytes destinations (#600) - Fix issue of some Chinese characters can not be extracted correctly (#593)
- Detecting trailer correctly when surrounded with needless whitespace (#535)
- Fix
.paint_path
logic for handling single line segments and extracting point-on-curve positions of Beziér path commands (#530) - Raising
UnboundLocalError
when a bad--output-type
is used (#610) TypeError
when usingTagExtractor
with non-string or non-bytes tag values (#610)- Using
io.TextIOBase
as the file to write to (#616) - Parsing \r\n after the escape character in a literal string (#616)