<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<body>
<p>Maltese cross: <span style="font-family: Zapf Dingbats">✠</span></p>
</body>
</html>
The above test file correctly renders a maltese cross dingbat using the Zapf Dingbats font, using prince 6.x on Mac OS X.
On my Linux box, I installed the ITC Zapf Dingbats font from http://fonts.com/ (along with some other non-symbol fonts). The other fonts (e.g. Sabon, etc.) work just fine with prince 5.1 and 6.x.
I can verify that Zapf Dingbats is installed under that name:
fc-list | grep -i ding
Webdings:style=Regular
Dingbats:style=Regular
Caladings CLM:style=Regular
Zapf Dingbats:style=Regular
Yet when I use prince to render the test on Linux, I get this error:
prince: warning: no glyphs for character U+2720, fallback to '?'
(And of course a ? appears in place of the intended glyph.)
Could it be that the .ttf version of Zapf Dingbats sold by http://fonts.com/ does not contain the entity encodings required to map Unicode dingbats to the proper glyphs? If so,
1) What is the solution for rendering this glyph?
2) What is the recommended way of inspecting the capabilities of .ttf fonts on the Linux side? Does Prince have any debugging options that will help troubleshoot the font environment?
-c