Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^3: PDF::API2 and the Elusive Courier Font

by kschwab (Priest)
on Nov 10, 2013 at 14:22 UTC ( #1061906=note: print w/replies, xml ) Need Help??

in reply to Re^2: PDF::API2 and the Elusive Courier Font
in thread [SOLVED] PDF::API2 and the Elusive Courier Font

I checked the source, and the $pdf->corefont() method pulls from 14 built-in fonts in the module itself...where their data is encoded in .pm files, here:


So, it's not looking at system installed fonts at all.Your issue is within the module itself.

Since your code is working for others, I would guess you've got a borked installation of the module. You could find try the ttffont() or psfont() method instead, assuming you have ttf or pfm files for the desired fonts around. The convert utility shows the location of these. Or perhaps try reinstalling the module?

  • Comment on Re^3: PDF::API2 and the Elusive Courier Font

Replies are listed 'Best First'.
Re^4: PDF::API2 and the Elusive Courier Font
by rsmeineke (Initiate) on Nov 11, 2013 at 09:35 UTC

    I thought that is what I had gleaned from the source. This is just weird.

    I sudo apt-get purged then sudo apt-get installed which installed the 2.019 version of the package. Still no Courier. Purged again then installed from the source which is version 2.020. Still no Courier.

    I even went so far as to grab a year 2007 version of the file from the old source on CPAN .... no Courier! All my file and directory permissions look reachable. It has got to be something funky about this Linux Mint 15 install.

    I really should quit obsessing about this but I hate not being able to solve a good mystery!

    Thanks so much for your time, Robert M.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1061906]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2018-06-18 10:13 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (109 votes). Check out past polls.