Question
Publicis Sapient
Publicis Sapient
IN
Publicis Sapient
Posted: May 15, 2018
Last activity: May 21, 2018
Last activity: 21 May 2018 12:02 EDT
Closed
Custom fonts are not coming in generated PDF with pega provided procedure
Hi,
I've imported custom font for my application and applied it in skin rule. For section and HTML rule it's working fine. But when I am generating PDF using this font, it's not coming in generated PDF. I've used procedure mentioned in the below post to fix the problem
https://pdn.pega.com/support-articles/generated-pdf-not-properly-displaying-custom-font
Here for pyPDFFontsDirectory Parameter value I've tried with webwb, webwb/, directly the directory name. But nothing is working fine.
Other parameters value also I've set. But still PDF is not getting generated with customized font.
I am using htmltopdf ootb activity to generate PDF
Need help to fix this.
To see attachments, please log in.
As a diagnostic put the font in a folder on your C drive where the JVM is. And hard code a fully qualified path to it like this.
"C:\\SpecialFonts"
Does it work in this case? If so, now you know a working example syntax. Try and find where you put the font on the server for this param to look for.