Forum Bugs

Can't get prince to run on SUSE 11

arwed
Hi,

I installed your demo version on a SUSE 11 server. In a local index.html file I put:
<html>
<head>
</head>
<body>
<h1>Hello World</h1>
</body>
</html>

I have ttfs in /usr/share/fonts/truetype/

I changed fonts.css to take arial from that directory.

If I do:
prince -v index.html -o index.pdf

I get:
prince: Loading document...
prince: loading HTML input: index.html
prince: Converting document...
prince: warning: no glyphs for character U+0048, fallback to '?'
prince: internal error: no fallback glyph for character U+0048

What am I doing wrong?
Regards
Arwed
mikeday
Prince can't find any fonts for the serif font family, which by default resolves to Times New Roman. You will need to make Times New Roman accessible, or edit fonts.css to direct serif to something else.
arwed
Great, thank you.
That did it.
Regards
Arwed