Generated PDF contains special characters (?)
On generating a PDF using HTMLToPDF activity, special characters (?) display in the generated PDF. The PDF must be generated in 32 International languages.
Unable to obtain static content: /opt/font/pd4fontsXXXXXXXXXXXX-abc-XXXXX.properties
Steps to Reproduce
- Load the required TTF files in to the '/opt/fonts' server path.
- Use HTMLToPDF out-of-the-box activity to generate the PDF.
Two threads are initiated to generate the PDF. During the process, if one thread clears the cache, then the PDF generated by the other thread has special characters. This is because, the PD4ML library maintains the cache in static objects. The cache mechanism must be modified such that the cache is maintained to a particular PDF process.
Published August 24, 2018 - Updated October 8, 2020
Was this useful?
0% found this useful
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.