Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiline table cell missing lines on page wrap #1021

Open
fellmann opened this issue Jan 9, 2024 · 2 comments
Open

Multiline table cell missing lines on page wrap #1021

fellmann opened this issue Jan 9, 2024 · 2 comments
Labels

Comments

@fellmann
Copy link
Contributor

fellmann commented Jan 9, 2024

Describe the bug
When a table cell contains multiple lines and the cell wrap to the next page, lines are missing.

To Reproduce
See output of TableRowSpanEvenSplitTest.java:threeWithLargeRowspanCellHugeTableTest, attached as file.

threeWithLargeRowspanCellHugeTableTest.pdf

Expected behavior
All lines should be visible in the generated PDF.

Screenshots
image

@andreasrosdal
Copy link
Contributor

Pull requests to solve this is welcome.

Thank you for reporting.

@andreasrosdal
Copy link
Contributor

andreasrosdal commented Jan 9, 2024

This bug is also present in OpenPDF versions 1.3.30, 1.3.0 and 1.2.1. So this is not a recent regression, and has been this way for a long time.

Is it possible to examine the generated .PDF file to see if the missing "rowspan7" line text is missing from the generated PDF file, or if the text line is just not visible.

So it's a question if the missing "rowspan7" line is generated at all by OpenPDF, or if it is generated in a way so that it is not visible when the row cell is part of a page wrap, or if the cell height is incorrect when crossing page wrap so that the extra text line is hidden by overflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants