Unplanned
Last Updated: 13 Mar 2026 15:51 by Simon
Simon
Created on: 13 Mar 2026 15:51
Category: Reporting
Type: Bug Report
1
The HtmlTextBox that spans 2 or more pages may cut the OL-LI elements' content vertically in the middle of the line between the pages

When an HtmlTextBox contains a large HTML ordered list that exceeds a single page height, the generated PDF is cut at the pixel-level page boundary rather than at a text line boundary. This results in a line of text being visually split mid-glyph — part of the line appears at the bottom of one page, and the remainder is orphaned at the top of the next page.

To reproduce, create an HtmlTextBox that contains an <ol> with lots (>40) <li> items, so they span more than one physical page and export to PDF. Observe the page boundary where the list crosses a page — the split occurs mid-line.

Expected behaviour:
The renderer splits the HtmlTextBox content at a complete line boundary, consistent with how a plain TextBox behaves.

Actual behaviour:
The split occurs at the pixel-level page margin, cutting through a rendered text line.

  
0 comments