pdf-php
pdf-php copied to clipboard
Adjust full - last line
Hello,
with the commit 00db904dcb7f3c5af394b06e89674555e421e56a you deleted the calculation of the text option "full" for the last line. We think, its a better moving with the deleted calculation. Only adjust full, when 90 percent of the width is used. This is, why we say its a bug. Can you say, why do you deleted this?
Thank you for the reply.
Best regards
To be honest I could not remember. I was expecting to behave the same as "common text writers" but with my last finding that could be wrong.
So, I think that should than be configurable at least but also get a default value. I will try to investigate some time for this topic
Oh, I remember its justified similar to what CSS styles text-align: justify
does.
Hi,
I think the CSS style text-align: justify
is the best option. Its only stretch the line if the current line not the last. This is better than the 80 % calculation. It's the same process as word it have.
Can you integrate this solution? (Without the 80 % calculation)
to be honest I do not know when I have the chance to focus on this project. But feel free to add a PR. I can quickly review and we are good to go
@ole1986 Hope you had a good Christmas! Have you had time to look into this issue? Best, Kevin
@kevinsdb unfortunately I did not had the chance yet to get into this