in reply to Terminate new line with hyphen in PDF report

Writing layout engines is a huge amount of work, do you really want to spend a *lot* of time doing that?

If not, make your perl program emit HTML and then use wkhtmltopdf or similar to convert it in to a PDF. CSS is a lot easier for getting exact pixels widths for text boxes.

  • Comment on Re: Terminate new line with hyphen in PDF report