How do i print a tick symbol ✔

5,566 views
Skip to first unread message

Chen Weifang

unread,
Feb 7, 2015, 10:21:06 AM2/7/15
to dom...@googlegroups.com
How do i print a tick symbol ✔

BrianS

unread,
Feb 9, 2015, 10:37:15 PM2/9/15
to dom...@googlegroups.com
If you're using dompdf 0.6.1 then you should just be able to use the character as-is so long as you style the text to use one of the DejaVu fonts. E.g.

<div style="font-family: DejaVu Sans, sans-serif;"></div>

You can also do that with any font that supports the character.

That character is also included as part of the Zapf Dingbats font included in all PDF readers. To display a tick symbol using that font do something like the following:

<div style="font-family: ZapfDingbats, sans-serif;">4</div>

(Though there may be a problem with Zapf support in 0.6.x).

Chen Weifang

unread,
Feb 16, 2015, 11:24:47 AM2/16/15
to dom...@googlegroups.com
Thank you so much for your help. Your suggestion works :D! 
Reply all
Reply to author
Forward
0 new messages