Added
- new optional parameter
repeat_headings
forFPDF.table()
that indicates whether to print table headings on every page - support for overriding paragraph direction on bidirectional text
- new optional
li_prefix_color
parameter forFPDF.write_html()
- support for
start
&type
attributes of<ol>
tags, andtype
attribute of<ul>
tags, when usingFPDF.write_html()
FPDF.write_html()
now accepts atag_styles
parameter to control the font, color & size of HTML elements:<a>
,<blockquote>
,<li>
...FPDF.write_html()
now accepts atag_indents
parameter to control, for example, the indent of<blockquote>
elementsFPDF.write_html()
now honorsline-height
attributes on<ol>
&<li>
elements, or the same CSS property instyle
attributes on those tags- allow to define custom
cell_fill_mode
logic for tables: Set cells background - documentation section. Also added 2 new values:TableCellFillMode.EVEN_ROWS
&TableCellFillMode.EVEN_COLUMNS
: documentation
Fixed
- a bug when rendering vector images with dashed lines that caused a warning message in Adobe Acrobat Reader
- ordering RTL fragments on bidirectional texts
- fixed type hint of member
level
in classOutlineSection
fromstr
toint
. - SVG clipping paths being incorrectly painted - cf. issue #1147]
- new translation of the tutorial in Polski - thanks to @DarekRepos
Changed
- improved the performance of
FPDF.start_section()
- cf. issue #1092
Deprecated
- The
dd_tag_indent
&li_tag_indent
parameters ofFPDF.write_html()
are replaced by the newtag_indents
generic parameter. - The
heading_sizes
&pre_code_font
parameters ofFPDF.write_html()
are replaced by the newtag_styles
generic parameter.