Closed sahin52 closed 1 year ago
I believe similar question was discussed in this thread - https://github.com/surveyjs/survey-pdf/issues/42 You need to load custom font supporting Turkish characters and use it in exported document
I can't find the example font strings (there was a string for roboto in the example) anywhere and the given examples does not have any effect on mine. The result has still weird results only in html parts. Can you give me an example?
Here is the example on our site how to use a font with Japanese symbols - https://surveyjs.io/Examples/Pdf-Export?id=survey-pdf-customfont&platform=Knockoutjs&theme=modern#content-js
In the example there is a line with
var mouhitsuBold = "AAEAAAASAQAABAAgR1NVQlaTjWkAAq50AAAJoE9TLzJ7u4xIAAAByAAAAFZjbWFwM6.....
how can I find this string for font? I couldn't find it anywhere.
It's described in jsPdf library documentation - https://github.com/parallax/jsPDF#use-of-unicode-characters--utf-8
Thanks a lot, this solved it but it would be better if the users didn't struggle with this.
Are you requesting a feature, reporting a bug or asking a question?
Reporting a bug
What is the current behavior?
The downloaded file has changed Turkish characters in it, but only in the parts of elements of html
What is the expected behavior?
The Turkish characters should be written truely
How would you reproduce the current behavior (if this is a bug)?
Create a html element with ı character in it, and download it, it will be rendered as 1.
Provide the test code and the tested page URL (if applicable)
Tested page URL: https://codesandbox.io/s/young-currying-nq3kb?file=/src/App.js Test code
Specify your