Fpdf2

Latest version: v2.8.1

Safety actively analyzes 683322 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 8

2.1.0

Not secure
Added
* [Introducing a rect_clip() function](https://github.com/reingart/pyfpdf/pull/158)
* [Adding support for Contents alt text on Links](https://github.com/reingart/pyfpdf/pull/163)
Modified
* [Making FPDF.output() x100 time faster by using a bytearray buffer](https://github.com/reingart/pyfpdf/pull/164)
* Fix user's font path ([issue](https://github.com/reingart/pyfpdf/issues/166) [PR](https://github.com/py-pdf/fpdf2/pull/14))
Deprecated
* [Deprecating .rotate() and introducing .rotation() context manager](https://github.com/reingart/pyfpdf/pull/161)
Fixed
* [Fixing 159 issue with set_link + adding GitHub Actions pipeline & badges](https://github.com/reingart/pyfpdf/pull/160)
* `User defined path to font is ignored`
Removed
* non-necessary dependency on `numpy`
* support for Python 2

2.0.6

Not secure
Added
* Python 3.9 is now supported

2.0.5

Not secure
Added
* new specific exceptions: `FPDFException` & `FPDFPageFormatException`
* tests to increase line coverage in `image_parsing` module
* a test which uses most of the HTML features
Fixed
* handling of fonts by the HTML mixin (weight and style) - thanks `cgfrost`!

2.0.4

Not secure
Fixed
* images centering - thanks `cgfrost`!
* added missing import statment for `urlopen` in `image_parsing` module
* changed urlopen import from `six` library to maintain python2 compatibility

2.0.3

Not secure
Added
* Ability to use a `BytesIO` buffer directly. This can simplify loading `matplotlib` plots into the PDF.
Modified
* `load_resource` now return argument if type is `BytesIO`, else load.

2.0.1

Not secure
Modified
* introduced a dependency to `numpy` to improve performances by replacing pixel regexes in image parsing (s/o pennersr)

Page 7 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.