You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve outer border behaviour with nonzero gutter (#1087)
* table: Changed drawing of outer border when gutter is nonzero [#1071]
* test: Regenerated tests for new handling of outer border
* table: Apply the gutter spacing between outer border and table contents [#1071]
* Updated changelog for table outer border modification
* table: Changed outer border calculation to use border edge instead of centre
* table: Draw top and bottom outer border as one line
* test: Regenerated tests for new interpretation of gutter spacing
* table: Fixed header with gutter after pagebreak
Header rows need gutter between them, as well as before the start of
content; see test_table_with_colspan()
* test: Reproduced comparison PDFs for outer border change
Outer border top and bottom lines are now single continuous lines
instead of many line segments
Copy file name to clipboardexpand all lines: CHANGELOG.md
+3
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,9 @@ This can also be enabled programmatically with `warnings.simplefilter('default',
24
24
* non-bold `TitleStyle` is now rendered as non-bold even when the current font is bold
25
25
* calling `.table()` inside the `render_toc_function`
26
26
* using `.set_text_shaping(True)` & `.offset_rendering()`
27
+
* Fixed gutter handing when a pagebreak occurs within a table with header rows - thanks to @mjasperse
28
+
### Changed
29
+
* Outer table borders are now drawn continuously for nonzero `gutter_width`/`gutter_height`, with spacing applied inside the border similar to HTML tables - thanks to @mjasperse - cf. [#1071](https://github.com/py-pdf/fpdf2/issues/1071)
0 commit comments