UTF-8 Characters are not correct in pdf-Document

Hello,

I have main data in UTF-8-format in a datatable and the text (with some emoticons) is shown correctly in the browsers. I can print it out correctly, too. But if I create a pdf-document with the topdf-method the characters are not shown in their original way. It seems so, that they are in a different charset.

Any suggestions?

The current font doesn’t support additional characters. Here’s the way to change it:

  • run our CDN resources offline (as described here)

  • place the new .ttf font file in “extras” folder

  • specify the font as one of the properties:

webix.toPDF($$("datatable"), { fontName:"font-file-name" })

Please note that this feature available only for the latest Webix 4.0 release.