Added
- support for PDF encryption (RC4 and AES-128): documentation page - thanks to @andersonhc
FPDF.skew()
- New method: documentation page - thanks to @erap129- ensured support for Python 3.11
FPDF.image()
: thex
parameter now accepts a value of"C"
/Align.C
/"R"
/Align.R
to horizontally position the image centered or aligned rightFPDF.image()
: dimensions can now be provided to set the intrinsic image width & height before storing it in the PDFFPDF.cell()
&FPDF.multi_cell()
: support for[]()
hyperlinks whenmarkdown=True
FPDF.write_html()
: support forline-height
attribute of paragraph (<p>
) - thanks to @Bubbu0129- documentation on useful tools to manipulate PDFs
- show a warning if the font being used doesn't have all the necessary glyphs for the text
Changed
FPDF.add_link()
creates a link to the current page by default, and now accepts optional parameters:x
,y
,page
&zoom
.
Hence callingset_link()
is not needed anymore after creating a link withadd_link()
.FPDF.write_html()
now generates warnings for unclosed HTML tags, unlesswarn_on_tags_not_matching=False
is set
Fixed
FPDF.write_html()
: aValueError: Incoherent hierarchy
could be raised with some headings hierarchyFPDF.write_html()
:<img>
withoutheight
attribute overlaps with the following content #632 - thanks to @Bubbu0129FPDF.image()
: performance issue with adding large images withFlateDecode
image filter #644 - thanks to @Markovvn1FPDF.add_font()
: fix support for upper case font file name #638 - thanks to @CY-Qiu