I'm trying to get unicode to work, I have a sample string here:
- Code: Select all
page.Canvas.DrawString($"Student Attendance Report ☑", new PdfTrueTypeFont("Arial", 18f, PdfFontStyle.Regular, true, true), new PdfSolidBrush(Color.Black), 0, 180);
I am expecting to see the checkbox appear on my pdf, but with the above code, it looks wrong:

If I set the last argument in PdfTrueTypeFont to false, then the checkbox doesn't appear, but the rest of the string looks fine.