Added
- new
FPDF.page_mode
property, allowing to display a PDF in full screen: link to docs - new
FPDF.viewer_preferences
property: link to docs
Fixed
- removed a debug
print()
statement (multi_cell: new_x=... new_y=...
) that had been left in multi_cell() method 🤦♂️ - preserved backward compatibility with PyFPDF for passing positional arguments to
cell()
&multi_cell()
, which was broken in 2.5.2
Modified
- when
regular_polygon()
is called withstyle="f"
,
the shape outline is not drawn anymore. Usestyle="DF"
to also draw a line around its perimeter.
Deprecated
- the
fill
parameter of thepolygon()
&polyline()
methods have been replaced by astyle
argument,
offering more control