Icon/emoji in PDF graphical representation
-
Is there a way for JSReport to render an icon or emoji using the ASCII or Hexadecimal code in order to show it on the PDF representation?
What I need is for the code to be processed and afterwards rendered into the corresponding icon/emoji using the code passed on the XML tag. Something like this:
<tag>🚫</tag>
-
Icon emoji is a Unicode character rendered by font. So if you paste this to your html
<span>🚫</span>
thechrome-pdf
should convert it to your icon. This works on Windows because there are required fonts already installed, however, on linux you typically need an extra fonts.Here you can find demo with open moji web fonts used to render emoji.
https://playground.jsreport.net/w/anon/sLgBfpQB