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.