Linux birt File Export garbled

Source: Internet
Author: User
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.
QUOTE:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.