Hi,
I can’t get Prince to work. At first I used the generic Linux version, which gave me these error messages:
So I read around and found that the first thing people are told is to install the msttcorefonts package. Well, I can’t do that, but I did what I thought was the next best thing, and copied the MS Core Fonts TTF files I have into the lib/prince/fonts/ directory of my Prince installation.
That made no difference.
Then I saw it was recommended to people who have those errors to use the package appropriate to their OS. The server I’m on runs RHEL4, so I downloaded that package. Of course I can’t install this package any more than msttcorefonts, so I resorted to extracting the files from the RPM and copying the binary from lib/prince/bin/prince into my previous installation.
However, all I achieved by doing this was to silence the fontconfig warnings. I still get the final error message:
And of course no joy – no PDF comes out.
Any hints?
I can’t get Prince to work. At first I used the generic Linux version, which gave me these error messages:
Fontconfig warning: no <cachedir> elements found. Check configuration.
Fontconfig warning: adding <cachedir>/var/cache/fontconfig</cachedir>
Fontconfig warning: adding <cachedir>~/.fontconfig</cachedir>
Fontconfig error: out of memory
prince: internal error: no available fonts
So I read around and found that the first thing people are told is to install the msttcorefonts package. Well, I can’t do that, but I did what I thought was the next best thing, and copied the MS Core Fonts TTF files I have into the lib/prince/fonts/ directory of my Prince installation.
That made no difference.
Then I saw it was recommended to people who have those errors to use the package appropriate to their OS. The server I’m on runs RHEL4, so I downloaded that package. Of course I can’t install this package any more than msttcorefonts, so I resorted to extracting the files from the RPM and copying the binary from lib/prince/bin/prince into my previous installation.
However, all I achieved by doing this was to silence the fontconfig warnings. I still get the final error message:
prince: internal error: no available fonts
And of course no joy – no PDF comes out.
Any hints?