Forum How do I...?

Install on CentOS v6.0 issue

hopley
Hello -- I hope your day is good.

I am working on an installation -- went with:
http://www.princexml.com/download/prince-8.0-linux.tar.gz

system needed many installations plus the msttcorefonts and fontconfig

I am now trying to run this test:

prince test.html -o test.pdf

And I get this result

/usr/local/lib/prince/bin/prince: /usr/lib/libcurl.so.4: no version information available (required by /usr/local/lib/prince/bin/prince)
prince: warning: no glyphs for character U+004C, fallback to '?'
prince: internal error: no available fonts

I think the '/usr/lib/libcurl.so.4: no version information available' is a warning.

###
The 'prince: internal error: no available fonts' is my issue at this point (an error) and I am stuck.
Can you help?

Thanks in advance
mikeday
Seems like Prince can't find any fonts, even though you have installed msttcorefonts and fontconfig. If you run "fc-list" does it list fonts including Times New Roman?
hopley
mikeday,
Thanks for the response. No

A couple of things:

1) I have the issue with the curl libraries eliminated by installing the static version of prince 8 on that server

2) this is a headless server so the xfs and chkfontpath are not (currently) installed so the rpm of msttfonts is not installed (yet) but is built.

This is a headless servers (reason I do not have X on it -- that could be installed but I think there may be another way).
I think the course could be to get the ttf files then update the fonts.css file (in /usr/lib/prince/style).

Not sure of the steps but am looking into that.

any feedback/updates/comments are welcome

Thanks
hopley
Quick Update:

extracting fonts into /usr/share/fonts and running
fc-cache /usr/share/fonts

verify with fc-list

This resolved the second item I noted earlier and have now generated a .pdf (
prince test.html -o test.pdf
)

thanks -- have a great day