Quotation mark turning into question mark in generated PDF
When a PDF is generated from an HTML, all the apostrophes (single quotation marks) displayed as question marks in the generated PDF document. The same HTML content renders correctly in PRPC 6.2. However, after upgrading to Pega 7.1.6 these special characters did not render correctly in the PDF output.
Steps to Reproduce
1. Put HTML with a right single quote (rsquot) character into an HTML rule.
2. Call the HTMLtoPDF activity, and pass the stream as a parameter.
3. Use Code-Pega-PDF.View to download and view the PDF output.
The root cause of this problem is defect or misconfiguration in the PRPC operating environment.
Specify fonts directory on the application server using pyPDFFontsDirectory parameter of the HTMLtoPDF activity.
0% found this useful