FPDF tick and cross

I found a simple solution myself which I reproduce here in case anyone else wants to achieve something similar.
First I add the Zapf Dingbats font with
pdf.set_font(“ZapfDingbats”, style=“”, size=8)
then I can print a tick with
pdf.text(21 + 8 * dictnum, ypos+16, chr(52))
or a cross with
pdf.text(21 + 8 * dictnum, ypos+16, chr(54))

2 Likes