-1

In pdf i want to show tick mark by using code hexa ( ✔ ). But It shows as small rectangle in pdf.I tried Code Decimal also but same result in pdf.

enter image description here

But shows perfectly in web page.How can i show tick in pdf?

Iam using mpdf plugin to generate pdf. Please Help

georg
  • 211,518
  • 52
  • 313
  • 390
Rex Rex
  • 1,030
  • 1
  • 8
  • 29
  • You could use it as an image, instead of a character. – machineaddict Nov 26 '14 at 08:03
  • But in mpdf site,they mentioned this will support html entities. – Rex Rex Nov 26 '14 at 08:06
  • 1
    The small rectangle normally means that the font being used does not contain a glyph for the character. Consider setting the font explicitly with CSS in your HTML document, to one that contains the character, and using a conversion tool that a) carries the style information into the PDF and b) embeds the font used. – Jukka K. Korpela Nov 26 '14 at 08:38

1 Answers1

-1

If you have an access to the server you work on, I recommand you to use wkhtml2pdf http://wkhtmltopdf.org/ . The usage is made easy by snappy https://github.com/KnpLabs/snappy .

It's compatible linux/mac (with some config issues with mamp, but who still use mamp?)/windows and make awesome renderer since it uses webkit !

Nek
  • 2,715
  • 1
  • 20
  • 34