|go ahead... be a heretic|
[SOLVED] PDF::API2 and the Elusive Courier Fontby rsmeineke (Initiate)
|on Nov 07, 2013 at 13:11 UTC||Need Help??|
rsmeineke has asked for the
wisdom of the Perl Monks concerning the following question:
Found it ....
in the PDF/API2/Resource/Font/CoreFont/courier.pm file I changed
and I added -New, in the other three courier-related files
and now all is right with the world!======================%< snip >%================================
I'm wondering if it is just me ...
I recently had need for the Courier font in some PDF output. I have been trying to use the corefonts in PDF::API2 but can't seem to get anything other than Courier-Oblique for output. The other corefonts seem to render fine. Here is a mini test program:
I have tested this on a couple of my Linux boxes and always get the same result -- four lines of Courier-Oblique on the top. Any ideas where I might be going wrong?
Thanks, Robert M.