Thursday, May 31, 2018

Unicode font issue in Web application (Hindi / Arabic)

I have faced the issue on unicode characters, these are not showing in the generated pdf.  

If you are generating the pdf through web application and the font character is not reflecting in the generated pdf, check the following steps to fix the issue.
  • Install the true type font
  • Give the permission for the installed font for everyone / IUSR
  • Restart the system if required (Sometimes the installed font won't reflect to use)
  • If it is a web application configure, Extension: .woff2; MIME Type: application/font-woff2 under IIS - MIME type
  • Embed the font with the pdf
  • Generate the pdf.

No comments:

Delphi Thread Example

Delphi Thread Example Threads mean a lot with the latest computer technology. They allow you to perform multiple tasks at the same time ...