PDF does not display few locale specific characters correctly
HTMLToPDF is used to generate a PDF file. In the output PDF, text containing locale specific characters is shown as junk values.
Steps to Reproduce
1. Use HTMLToPDF in the activity.
2. Parse the HTML having characters specific to Dutch locale.
The required parameters are not being parsed for HTMLToPDF to work.
This issue is resolved through the following Local-change:
1. Ensure that the fonts that are referenced in the HTML that is processed into PDF are available on the server.
2. Before the call to HTMLToPDF, set param.pyPDFFontsDirectory = <location of fonts> (for example, "C:\\Windows\\Fonts").
0% found this useful