github py-pdf/fpdf2 2.8.4
Dropping support for Python 3.8 - automated tests run on MacOS - several bugfixes

25 days ago

Added

Fixed

  • FPDF.write_html(): Fixed custom styling of <p> & tables - issue #1453
  • an IndexError was raised in some cases when rendering HTML with nested lists - cf. issue #1358
  • an IndexError was raised in some cases when using text_columns() with text shaping enabled - cf. issue #1439
  • handled case of a smaller last column when using text_columns() - cf. issue #1442
  • minor regular-expression optimization in the SVG parsing module, nullifying any risk of ReDOS attack
  • a performance issue when using FPDF.offset_rendering() or FPDF.unbreakable() with large fonts - cf. issue #1444
  • slightly invalid PDF files were produced since v2.8.3, due to path construction commands being inserted inside BT/ET contexts when using underline or strikethrough text - cf. issue #1456
  • multi_cell() text clipping bug - issue #1471
  • HTML lists bullets are now properly displayed when using unicode fonts - cf. issue #1496
  • clarified documentation in Maths.md regarding DataFrame string conversion for PDF rendering
  • children of <a> tags in SVGs are now correctly rendered - cf. PR #1522

Changed

Removed

  • support for Python 3.8, that reached end-of-life in 2024

Don't miss a new fpdf2 release

NewReleases is sending notifications on new releases.