Hello, I have a pdf file consisting of several hundred pages. Often text lines go beyond the page limit of the A4 format at the right side. So the text is there but not visible.
When I edit the pdf file in the Adobe Acrobat Pro, I can see that text is in a frame that goes beyond the limit. When I manually draw this frame or box smaller, i.e. pulling the right part into the visible area, than the text inside is completely in the visible area.
It's too much work to do this manually and to find all places. The font size of the text can be different and often the text begins somewhere in the middle.
Is there a way to find out with a perl script, where all textboxes are that go beyond the page limit? Or much better could I automatically minimize the right border of all text boxes to be in the visible are plus a small margin?
There are a lot of pdf libraries on CPAN. But I don't really know how to begin here. Thank you very much for your input!
In reply to pdf with too long lines by Dirk80
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |