Releases: dipietrantonio/pdf4py
Releases · dipietrantonio/pdf4py
pdf4py 0.1.0
Summary
- Removes
PDFName
type and usesstr
instead. pdf4py.parser.Parser.parse_reference
does not returnPDFIndirectObject
anymore but the wrapped PDF object directly.- Compatible with Python 3.4 and above.
- Code and documentation cleanup.
Major Features and Improvements
- since PDF names are 8-bit characters sequences that be interpreted as utf8 strings according to the standard, from now on
pdf4py
returns them asstr
objects. There is no ambiguity because PDF strings are represented by thePDFLiteralString
type (the reason is these may have been encoded using an arbitrary encoding). - the method
pdf4py.parser.Parser.parse_reference
does not return aPDFIndirectObject
anymore but the wrapped object directly. It was indeed an unuseful intermediate step. - The package is compatible with Python 3.4 and above, not only from 3.6 as stated in the previous release.
Breaking changes
As said above, PDFName
has been removed and the return type of pdf4py.parser.Parser.parse_reference
has changed.