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
Inconsistent borders-layout when performing page break #909
Comments
Hi @VonArmin, and thank you for reporting this bug!
Could you please describe more precisely what happens that should not happen? Thank you for providing some minimal code reproducing the problem. I used the latest version of
|
Its to do with the line underneath the header, its very minor I know. Its honestly not that big of a deal but I'd like to print the documents and the line is very thin (barely visible) when I print them. |
OK, thank you for the explanation I figured out the issue: you can notice that this problem only occurs on pages where the top content row has a grey background. When I currently don't have a clean & simple solution for this. I'm open to suggestions and PRs to provide a fix that preserve the backward compatibility as much as possible 😊 As a workaround, you can try to play with the settings (header/footer height, font size...) so that the first row on every page is always an even one (or an odd one). |
Given that a fix was implemented in #912, I'm going to close this now 🙂 |
The problem I'm encountering happens when an automatic page break is performed by the table renderer:
The border-layout is not respected, but only randomly so, some more context/things I've tried.
Am I doing something wrong or is it a bug that needs to be resolved?
Hope this can be fixed soon!
Environment
Please provide the following information:
fpdf2
version used: 2.7.5The text was updated successfully, but these errors were encountered: