Forum How do I...?

Help needed to get prince working on my VPS.

christopher
Hello,

i am working on a site developed in ruby on rails by a development company.

im trying to move it onto my linux vps. Im getting a couple of errors that i dont have the knowledge to solve and was wondering if anyone could give me a few pointers.

Errors im getting,

via the prince.log

Wed Jun 11 12:05:11 2008: ---- begin
Wed Jun 11 12:05:11 2008: internal error: no available fonts
Wed Jun 11 12:05:11 2008: ---- end

production.log

PRINCE XML PDF COMMAND
/usr/bin/prince --input=html --server --log=/home/zest/public_html/config/../log/prince.log -s /home/zest/public_html/config/../public/stylesheets/print.css --silent - -o -

Sending data Italyabroad_Picking_List_57.pdf
NoMethodError (undefined method `size' for nil:NilClass): etc...

_____________________________________________________________

what ive done so far ive had prince installed onto the server,

changed the @exe_path = "/usr/bin/prince"

im abit stuck so any help is greatly needed

Thanks,
mikeday
Install the msttcorefonts package or edit fonts.css to point to other local font files that you would like to use, as described here.
christopher
Cheers for the quick reply,its working great now, !