1

Problem :- Not able to apply justify formatting for paragraph in pdfbox.

I tried :- I included space in between words so that it justifies the paragraph. But this does not work for a variable width font. For that I not able to identify pixel position for each character since the width in pixels of each character is different.

Please give suggestions....

I want to make this type of alignment in pdfbox as given below :-

enter image description here

James K
  • 3,692
  • 1
  • 28
  • 36
Prashant
  • 13
  • 3
  • 2
    Possible duplicate of [Is it possible to justify text in PDFBOX?](http://stackoverflow.com/questions/20680430/is-it-possible-to-justify-text-in-pdfbox) – mkl Oct 20 '16 at 08:22

0 Answers0