Openerp printing report pdf Chinese garbled solution, openerp printing report

Source: Internet
Author: User

Openerp printing report pdf Chinese garbled solution, openerp printing report

Environment:

Ubuntu 12.04

OpenErp 7.0


After the language is set to simplified Chinese, the report is printed and the Chinese text is garbled.

First

Cd/usr/share/fonts/truetype/

Follow the online method to download the Library:

Wget http://okay.googlecode.com/files/DejaVuSans-Oblique.ttfwget http://okay.googlecode.com/files/DejaVuSans-BoldOblique.ttfwget http://okay.googlecode.com/files/DejaVuSans-Bold.ttfwget http://okay.googlecode.com/files/DejaVuSans.ttf
If you cannot access google, you can download the font http://download.csdn.net/detail/m0sh1/8487119 here.

Decompress them and place them in the/user/share/fonts/trutype directory.

Finally, restart openerp to log on and print the report. Is it successful :)


On Windows, the following methods are available on the Internet:

In windows, the easiest way is to copy the simsun. ttf file to the font folder of windows,

Then they were renamed "DejaVuSans. ttf", "DejaVuSans-Bold.ttf", "DejaVuSans-Oblique.ttf", "DejaVuSans-BoldOblique.ttf ",

You can also use the fonts downloaded from the Internet provided above. Restart OE so that all reports can use Chinese normally.



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.