Hi,
Just wondering if anyone has experience with printing/exporting reports in multiple languages using PB's native PDFlib functionality, and if so whether anyone can confirm my understanding and let me know if I'm missing anything. We are currently using PB2022R2.
Our app can be configured to create PDFs via either (a) PDFlib OR (b) the old-school method of sending to a PS Printer Device and passing the resulting PS file to Adobe Distiller.
When the app is configured to use the old-school method, everything works fine. When the app is configured to use PDFlib, we encounter issues with certain special characters (e.g. we are inserting Zero Width Joiner into strings to help support Kinsoku Shori wrapping rules for the Japanese Language) that results in extra visible characters being present in the string. We have found that this can be fixed by specifying the appropriate font.charset (e.g. font.charset='128' for Japanese).
This fix is sort of strange to me, because we have not needed to use the font.charset properly for many years, since we converted our language content from native encodings to Unicode.
So, I'm wondering (a) should font.charset always be populated as a best practice, even when it seems to be unnecessary and (b) is it expected that PDFlib would require an encoding to be specified and other methods do not?
Thanks for reading and sharing your thoughts!
Mark