| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2024-12-16 | 3.2 kB | |
| Support for page labels _ Python 3.13 - various fixes _ improvements source code.tar.gz | 2024-12-16 | 33.7 MB | |
| Support for page labels _ Python 3.13 - various fixes _ improvements source code.zip | 2024-12-16 | 34.4 MB | |
| Totals: 3 Items | 68.1 MB | 0 | |
Added
- new optional parameter
borderfor table cells: users can define specific borders (left, right, top, bottom) for individual cells - thanks to @Kaustbh - issue [#1192] FPDF.write_html(): now parses<title>tags to set the document title. By default, it is added as PDF metadata, but not rendered in the document body. However, this can be enabled by passingrender_title_tag=TruetoFPDF.write_html().- support for LZWDecode compression - thanks to @opposss - issue [#1271]
- Python 3.13 is now officially supported
- support for page labels and created a reference table of contents implementation - thanks to @andersonhc - PR [#1188]
- documentation on how to: render spreadsheets as PDF tables
- support for passing
Alignvalues (along with string values like'C','L','R') inl_marginofTextStyleto horizontally align text - issue #1282
Fixed
- support for
align=inFPDF.table(). Due to this correction, tables are now properly horizontally aligned on the page by default. This was always specified in the documentation, but was not in effect until now. You can revert to have left-aligned tables by passingalign="LEFT"toFPDF.table(). FPDF.set_text_shaping(False)was broken since version 2.7.8 and is now working properly - issue [#1287]- fixed bug where cells with
rowspan,colspan> 1 and null text were not displayed properly - issue [#1293] CreationDatemetadata used a wrong timezone offset for UTC - issue [#1261]insert_toc_placeholder()did not properly the page orientation, which caused a bug when the last page of the document was in a different orientation - issue [#1213]
Changed
- improved logic for handling text substitution of the total number of pages, ensuring compatibility with text shaping - issue [#1090]
- all
AnnotationDictproperties can now be passed toFPDF.text_annotation(),FPDF.free_text_annotation(),FPDF.add_action(),FPDF.add_text_markup_annotation()&FPDF.ink_annotation(). This includestitle,color,border_width...
Removed
- reminder : since release
2.8.1,fpdf2does not support Python 3.7, that reached end-of-life in 2023