Reputation: 480
I had a Grid that contain a chinese language. The problem occur when I want to export the data into PDF. It seem appear a weird characters (image below) or something like this . Can anyone help me to solve the issue?
Upvotes: 2
Views: 2348
Reputation: 480
Found a solution, using kendo.pdf.defineFont
<script>
kendo.pdf.defineFont({
"Arial Unicode MS" : " +your url path+ / +font folder location+ "
//eg. "Arial Unicode MS" : "myUrl/fonts/arialunicodems.ttf"
});
</script>
Hope this can help.
Upvotes: 2
Reputation: 2246
As per documentation, https://demos.telerik.com/kendo-ui/grid/pdf-export for unicode support you need to use custom fonts. The code which you shared is in online is not loading.
Upvotes: 0