All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Making FPDF.output() x100 time faster by using a bytearray buffer
- Deprecating .rotate() and introducing .rotation() context manager
- Fix user's font path (issue pr)
- Fixing #159 issue with set_link + adding GitHub Actions pipeline & badges
User defined path to font is ignored
- non-necessary dependency on
numpy - support for Python 2
- Python 3.9 is now supported
- new specific exceptions:
FPDFException&FPDFPageFormatException - tests to increase line coverage in
image_parsingmodule - a test which uses most of the HTML features
- handling of fonts by the HTML mixin (weight and style) - thanks
cgfrost!
- images centering - thanks
cgfrost! - added missing import statment for
urlopeninimage_parsingmodule - changed urlopen import from
sixlibrary to maintain python2 compatibility
- Ability to use a
BytesIObuffer directly. This can simplify loadingmatplotlibplots into the PDF.
load_resourcenow return argument if type isBytesIO, else load.
- introduced a dependency to
numpyto improve performances by replacing pixel regexes in image parsing (s/o @pennersr)
- support for more recent Python versions
- more documentation
- PDF syntax error when version is > 1.3 due to an invalid
/Transparencydict
- turned
accept_page_breakinto a property - unit tests now use the standard
unittestlib - massive code cleanup using
flake8