github py-pdf/fpdf2 2.4.6
HACKTOBERFEST! Detect oversized images, new methods to draw arcs & regular polygons, improved documentation

latest releases: 2.7.9, 2.7.8, 2.7.7...
2 years ago

Added

Fixed

  • All graphics state manipulations are now possible within a rotation context, thanks to @gmischler
  • The exception making the "x2" template field optional for barcode elements did not work correctly, fixed by @gmischler
  • It is now possible to get back to a previous page to add more content, e.g. with a 2-column layout, thanks to @paulacampigotto

Changed

  • All template elements now have a transparent default background instead of white, thanks to @gmischler
  • To reduce the size of generated PDFs, no SMask entry is inserted for images that are fully opaque
    (= with an alpha channel containing only 0xff characters)
  • The rect, ellipse & circle all have a style parameter in common.
    They now all properly accept a value of "D" and raise a ValueError for invalid values.

Deprecated

  • dashed_line() is now deprecated in favor of set_dash_pattern()

Don't miss a new fpdf2 release

NewReleases is sending notifications on new releases.