-
Notifications
You must be signed in to change notification settings - Fork 613
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
Incorrect bottom height calculation in table cell #258
Labels
Comments
Added a PR (#260) to help out with this 😁 |
@rammetzger Can you please verify that this has been fixed in the master branch? |
Hi Andreas,
the bug seems to be fixed. I can’t reproduce it any more.
Thanks for the quick fix.
Viele Grüße / Best regards
Michael Metzger
Von: Andreas Rosdal <[email protected]>
Gesendet: Montag, 16. September 2019 17:45
An: LibrePDF/OpenPDF <[email protected]>
Cc: Michael Metzger | RA Consulting <[email protected]>; Mention <[email protected]>
Betreff: Re: [LibrePDF/OpenPDF] Incorrect buttom height calculation in table cell (#258)
@rammetzger<https://github.com/rammetzger> Can you please verify that this has been fixed in the master branch?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#258?email_source=notifications&email_token=ANGPUYSQTRLFMP5UDTEB2Z3QJ6SWNA5CNFSM4IW6JFDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6ZSX7Q#issuecomment-531835902>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ANGPUYRGWKM73AVIEFHSIULQJ6SWNANCNFSM4IW6JFDA>.
|
albfernandez
added a commit
to albfernandez/OpenPDF
that referenced
this issue
Oct 13, 2019
From LibrePDF#260 Original issue LibrePDF#258
asturio
changed the title
Incorrect buttom height calculation in table cell
Incorrect bottom height calculation in table cell
Dec 14, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For long texts (more than one page) within a table cell, it can happen that a line is printed twice. One time on the last page and one time on the next. The cause is an incorrect calculation of the available cell height.
The bug is in the calculation of cell height in class PdfPRow on lines 609-612:
The bottom value does not consider EffectivePaddingTop. The code should look something like this:
Please take over the correction in one of the next versions.
Thanks in advance.
The text was updated successfully, but these errors were encountered: