BIRT 4.20 Export PDF can not show emoji or extension characters
BIRT 4.20 Export PDF can not show emoji or 4byte character
emoji eg. ๐ ๐ ๐ ๐ ๐ ๐ ๐คฃ ๐ ๐ ๐ ๐ ๐ ๐ ๐ฅฐ ๐ ๐คฉ ๐ ๐ โบ๏ธ ๐ ๐ ๐ฅฒ ๐ ๐ ๐ ๐คช ๐ ๐ค ๐ค ๐คญ ๐คซ ๐ค ๐ค ๐คจ ๐ ๐ ๐ถ ๐ ๐ ๐ ๐ฌ ๐คฅ ๐ ๐ ๐ช ๐คค ๐ด ๐ฅฑ ๐ท ๐ค ๐ค ๐คข ๐คฎ ๐คง ๐ฅต ๐ฅถ ๐ต ๐คฏ ๐ ๐ ๐ โน๏ธ ๐ฎ ๐ฏ ๐ฒ ๐ณ ๐ฅบ ๐ฆ ๐ง ๐จ ๐ฐ ๐ฅ ๐ข ๐ญ ๐ฑ ๐ ๐ฃ ๐ ๐ ๐ฉ ๐ซ ๐ฅด ๐ก ๐ ๐คฌ ๐ ๐ฟ ๐ โ ๏ธ ๐ฉ ๐คก ๐น ๐บ ๐ป ๐ฝ ๐พ ๐ค | extension characters eg. ๐จข ๐ฉ ๐ฉใ๐ นบใใ ๐จใ๐จซใ๐ฉ
Source:
BIRT Viewer Web:
PDF:
Can you please provide your test report.
I assume that it is familiar with the #2305 because for PDF-output is a special fnt configuration necessary at file font_config.xml to fetch the correct glyphs. These fonts will be handled in a different way like a browser or the eclipse IDE.
I have tried the following:
- After adding fontsConfig_pdf.xml, the single emoji that originally displayed became three emojis, but not all of them are shown, and the extension characters still cannot be displayed.
- Setting the correct font directly in the .rptdesign file results in the same situation as in point 1.
- When I generate a PDF using OpenPDF 3.0.0 with the correct font, all characters display correctly.
test report testreport.zip fonts: fonts.zip
Generate by OpenPDF 3.0.0 emoji.pdf
Just a wild guess: BIRT doesn't support TTC files.
Sorry, I provided the wrong font. I first used a TTC file, and later switched to a TTF file, but it still didnโt work.