Linux-Linux general technology-Linux programming and kernel information-garbage codes of birt export files. For details, see the following. When birt exports a word, if there is no corresponding font file in the system, the exported word will contain Chinese garbled characters. When birt exports a pdf file, if the corresponding font file cannot be found in the system, birt will define a font for it and then generate a pdf file.
The above are my two guesses.
The test results are as follows:
The system environment is windows
1. set the font of all content in the birt report to the Serif font. When the system exports a pdf file, adobe (Simplified Chinese Version) needs to download the traditional Chinese font. If there are Chinese Punctuation Marks, you also need to download the Japanese font and generate the word file without garbled characters.
2. Set the font of all content in the birt report to the font. When it is opened, adobe does not need to download any font to open the PDF file and generate the word file without garbled characters.
3. Set the font of all content in the report to the font, locate the fontsconfig. xml file of the birt runtime, and comment it out.