in reply to PDF::Labels and word wrapping

*does a little sourcediving*

I found a comment Should add code here to check width of test ... I'm assuming the author meant "text". Then again, using PDF::Create isn't the best rendering engine.

As I see it, you've got a few options:

I would strongly recommend not attempting to fix the code. Text-width calculations are very difficult. PDF::Template doesn't attempt to do it, instead choosing to delegate to PDFlib. PDF::Create, the rendering engine for PDF::Labels, has a very limited facility for this, which PDF::Labels doesn't even seem to be using.

Being right, does not endow the right to be rude; politeness costs nothing.
Being unknowing, is not the same as being stupid.
Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.