Sounds a lot like PDF::TextBlock, which I wrote in March:
http://search.cpan.org/~jhannah/PDF-TextBlock-0.01/lib/PDF/TextBlock.pm
<http://search.cpan.org/~jhannah/PDF-TextBlock-0.01/lib/PDF/TextBlock.pm>
The examples (tests) are pretty comprehenisve, I think. Patches welcome!
http://github.com/jhannah/pdf-textblock
<http://github.com/jhannah/pdf-textblock>
j
________________________________
From: Shawn H. Corey
Sent: Sat 7/4/2009 6:40 AM
To: perl-text-pdf-modules
Subject: [perl-text-pdf-modules] Announcing PDF::Kit - some subroutines for
working with PDF::API2
I have had some free time and created PDF::Kit It has, among other
things, a subroutine, print_paragraph(), that can print bold text in the
middle of a paragraph. It also has in the tarball, eg_print_paragraph,
an example script on how to use it and how to write the all important
callback subroutine: print_text()
.