Forum How do I...?

no fallback glyph for character U+0048

kroberts
I've installed the static binary on RHEL 6. Prince is consistently broken.

Here's my test index.html:

<html>
<head><title>Hello, world!</title></head>
<body><h1>Hello, world!</h1></body>
</html>

The following is completely consistent. I don't particularly need prince 7, but I figured it would be most likely to work with RHEL6.

Please help.

$ prince --debug index.html
prince: debug: loading license: /usr/local/lib/prince/license/license.dat
prince: loading style sheet: /usr/local/lib/prince/style/fonts.css
prince: debug: loaded resource: /usr/local/lib/prince/style/fonts.css
prince: debug: loaded resource: type: no
prince: Loading document...
prince: loading HTML input: index.html
prince: debug: loaded document: index.html
prince: debug: sniffed doctype: XHTML (no namespace)
prince: loading style sheet: /usr/local/lib/prince/style/xhtml.css
prince: debug: loaded resource: /usr/local/lib/prince/style/xhtml.css
prince: debug: loaded resource: type: no
prince: loading style sheet: /usr/local/lib/prince/style/common.css
prince: debug: loaded resource: /usr/local/lib/prince/style/common.css
prince: debug: loaded resource: type: no
prince: loading style sheet: /usr/local/lib/prince/style/hyph.css
prince: debug: loaded resource: /usr/local/lib/prince/style/hyph.css
prince: debug: loaded resource: type: no
prince: loading style sheet: /usr/local/lib/prince/style/xlink.css
prince: debug: loaded resource: /usr/local/lib/prince/style/xlink.css
prince: debug: loaded resource: type: no
prince: loading style sheet: /usr/local/lib/prince/style/mathml.css
prince: debug: loaded resource: /usr/local/lib/prince/style/mathml.css
prince: debug: loaded resource: type: no
prince: loading style sheet: /usr/local/lib/prince/style/svg.css
prince: debug: loaded resource: /usr/local/lib/prince/style/svg.css
prince: debug: loaded resource: type: no
prince: debug: prepack
prince: Converting document...
prince: debug: pack
prince: debug: font request: bold serif
prince: debug: font scan: Times New Roman
prince: debug: font scan: Times New Roman, 0 matches
prince: debug: font scan: DejaVu Serif
prince: debug: font scan: DejaVu Serif, 0 matches
prince: debug: font scan: OpenSymbol
prince: debug: font scan: OpenSymbol, 0 matches
prince: debug: font scan: AR PL UMing CN
prince: debug: font scan: AR PL UMing CN, 0 matches
prince: debug: font scan: AR PL SungtiL GB
prince: debug: font scan: AR PL SungtiL GB, 0 matches
prince: debug: font scan: Lohit Hindi
prince: debug: font scan: Lohit Hindi, 0 matches
prince: debug: font scan: Ani
prince: debug: font scan: Ani, 0 matches
prince: debug: font scan: Mukti Narrow
prince: debug: font scan: Mukti Narrow, 0 matches
prince: debug: font scan: Lohit Punjabi
prince: debug: font scan: Lohit Punjabi, 0 matches
prince: debug: font scan: Lohit Gujarati
prince: debug: font scan: Lohit Gujarati, 0 matches
prince: debug: font scan: Lohit Tamil
prince: debug: font scan: Lohit Tamil, 0 matches
prince: debug: font scan: Lohit Telugu
prince: debug: font scan: Lohit Telugu, 0 matches
prince: debug: font scan: Lohit Kannada
prince: debug: font scan: Lohit Kannada, 0 matches
prince: debug: font scan: MalOtf
prince: debug: font scan: MalOtf, 0 matches
prince: debug: font scan: Lohit Oriya
prince: debug: font scan: Lohit Oriya, 0 matches
prince: warning: no glyphs for character U+0048, fallback to '?'
prince: internal error: no fallback glyph for character U+0048
mikeday
Do you have any fonts installed on this machine? I would suggest installing the Microsoft Core fonts package, or the DejaVu fonts.
kroberts
I just requested that they install it.

This is an outsourced box, they do the work but I have to tell them what needs to be done. :(

Thanks a lot for your help. I'm lost here.
mikeday
Lacking fonts is a very common issue on server machines, but it's easy to fix. :)
kroberts
That did the trick, thanks much!