Added
Template()
has gained a more flexible cousinFlexTemplate()
, thanks to @gmischler- markdown support in
multi_cell()
, thanks to Yeshi Namkhai - base 64 images can now be provided to
FPDF.image
, thanks to @MWhatsUp - documentation on how to generate datamatrix barcodes using the
pystrich
lib: documentation section,
thanks to @MWhatsUp write_html
: headings (<h1>
,<h2>
...) relative sizes can now be configured through an optionalheading_sizes
parameter- a subclass of
HTML2FPDF
can now easily be used by settingFPDF.HTML2FPDF_CLASS
,
cf. documentation
Fixed
Template
:split_multicell()
will not write spurious font data to the target document anymore, thanks to @gmischlerTemplate
: rotation now should work correctly in all situations, thanks to @gmischlerwrite_html
: headings (<h1>
,<h2>
...) can now contain non-ASCII characters without triggering aUnicodeEncodeError
Template
: CSV column types are now safely parsed, thanks to @gmischlercell(..., markdown=True)
"leaked" its final style (bold / italics / underline) onto the following cells
Changed
write_html
: the line height of headings (<h1>
,<h2>
...) is now properly scaled with its font size- some
FPDF
methods should not be used inside arotation
context, or things can get broken.
This is now forbidden: an exception is now raised in those cases.
Deprecated
Template
:code39
barcode input field names changed fromx/y/w/h
tox1/y1/y2/size