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

Wrong linespacing in the end of page #10

Closed
RangerMak opened this issue Mar 5, 2020 · 1 comment
Closed

Wrong linespacing in the end of page #10

RangerMak opened this issue Mar 5, 2020 · 1 comment
Assignees
Labels

Comments

@RangerMak
Copy link

Sometimes last line of page in multiline text can be rendered using wrong linespace.
Examlpe: https://ibb.co/FWNRYbD

This text was added to document using code

pagesSet.addElement(new PLText(loremRus, italicBoldFont12).setLineSpacing(1.5f));

Last line was rendened with wrong linespace for fitting it into page.
Another lines of text was rendered with correct linespace.

The result document looks strange in this case.

@phax phax self-assigned this Mar 5, 2020
@phax phax added the bug label Mar 5, 2020
phax added a commit that referenced this issue Mar 5, 2020
@phax
Copy link
Owner

phax commented Mar 5, 2020

That occurred only on line break.

phax added a commit that referenced this issue Mar 5, 2020
@phax phax closed this as completed Mar 5, 2020
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