Forum Bugs

Wingdings Font

WaltG
I am using Prince 6.0 rev 6 on a Windows XP machine. I have an XHTML document that uses the Wingdings font. Some characters, for example numbers, render the Wingdings font correctly. Other characters, for example letters, ignore the Wingdings font. Ideally I would like Unicode characters to render in Wingdings correctly, for example & #376;

Am I doing something wrong?
WaltG
In the sample document below the only characters that are correctly rendered in Wingdings are "12345". Note, the unicode references in my actual document do not have a space between the ampersand and the pound sign; I have added the space here so the browser shows the code, not the character.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test Wingdings</title>
<style type="text/css" media="all">
div.wing {
font-family: 'Wingdings';
}
</style>
</head>
<body>
<div>
This page will test support for wingdings.
</div>
<div class="wing">
12345<br />
ABCDEFG<br />
abcdefg<br />
& #159; & #376;
</div>
</body>
</html>
mikeday
#159 (U+9F) is a non-printable control code and #376 (U+0178) is "LATIN CAPITAL LETTER Y WITH DIAERESIS". I'm pretty sure that the WingDings font doesn't have a glyph for either of those characters, which is why Prince isn't finding them. To support Wingdings (and Webdings and other symbolic fonts) we have mapped its glyphs into the Unicode private use area, where they can be accessed from #xF000 to #xF0FF.