pdf-lib icon indicating copy to clipboard operation
pdf-lib copied to clipboard

Justification for multiple lines

Open xgg94 opened this issue 3 years ago • 3 comments

Describe your idea

I need to justify my multi line text. I can't find any workaround to do that

How could this be implemented?

just another attribute for text for e.g "drawText function" which tries to justify the text until maxWidth is reached.

What problem are you trying to solve?

To create a multiline text which is justified

Why does this matter to you?

I need it for printing

Would others find this helpful?

Yes, I think so

Are you interested in implementing your proposal?

No

Why are you submitting a proposal?

Because in my opinion justification is a must have when creating PDF's

Additional Notes

thank you a lot for your great tool

xgg94 avatar Aug 03 '22 23:08 xgg94

Any solution for this?

shoaibarif244 avatar Dec 24 '24 06:12 shoaibarif244

I am also looking for the same feature, my pdf contains multi-line text (summary). I want the text to be justified just like its present in MS Word.

anisharya16 avatar Jan 29 '25 05:01 anisharya16