Forum How do I...?

missing check mark in the checkbox

moonvalley1
I am generating a pdf from html.

For checkboxes, Prince is drawing a question mark instead of a check mark in the checkbox for the following code:

<input type="checkbox" checked />

The logs say:

warning: no glyphs for character U+2713, fallback to '?'

I've even installed msttcorefonts and the didn't work.

Any clues?

html header contains the following:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head >
mikeday
If you don't have any fonts that have a glyph for this check mark character, you could change it to use an X or some other more common character. Check the default style sheets (xhtml.css, xhtml-ns.css).
moonvalley1
Thanks mikeday. I used an X as you suggested and it worked.

Just curious, how would I install fonts that would support the "glyph check mark character?" The check mark will probably look better than the X.
mikeday
The OpenSymbol font should have the check mark glyph; it comes with OpenOffice, or you can install the ttf-opensymbol package by itself.