Question
FPT Okinawa R&D Co., Ltd.
JP
Last activity: 17 Oct 2023 8:43 EDT
Issue about generate HTML to PDF file on Pega Dev Studio 8.8
Hello,
We have a problem displaying full-width characters. We need to create PDF file from HTML with font file format for Japanese language.
In the content of the generated PDF file it includes non-english characters as Kanji, Romaji, katakana... characters.
1. If the written Romaji characters are 2 bytes( full-width), in the PDF file it converts to 1 byte(half-width) characters
2. If there are many spaces in a strings, the spaces will be removed and only one space will be left.
This problem does not occur with older versions like 8.4, 8.7
Thanks everyone for the help!!
***Edited by Moderator Marije to add BUG id***
@NGODUCTHUAN this is a known issue - Japanese double-byte space is neglected when exporting to PDF. I'm assuming that in your second bullet point the spaces are double byte spaces.
The issue with the double byte characters was identified recently. We already reported it to PD4ML team and they have fixed the same in PD4ML version 4.0.16.
https://pd4ml.com/release-notes/
Pega logged BUG-793249 which is tentatively set to be included in a later patch release for 8.8. As this is an issue with the third party library, no workaround from Pega is applicable.
However could you try to instead use correspondence instead of text?
******* Update ******
Issue is fixed in 8.8.4 - Fixed with upgrade of PDF version to 4.0.13fx8
*************************