PyChart Unicode Report (Support CJK Font)

v 6.1 Third Party 1547
Download for v 6.1
Technical Name l10n_pychart_unicode_report
You bought this module and need support? Click here!

PyChart Unicode Report (Support CJK Font)

Add unicode support to pychart report, such as "Stock Level Forecase" or "Work Center Load" etc.

This module let pychart make report as svg file, then use cairosvg turn svg to pdf file.

Depend on python-cairo & python-cairosvg. Install it on Debian/Ubuntu: $ su apt-get install python-cairo python-cairosvg

If oecn_base_fonts is installed ,It would read oecn_base_fonts module font setting . or else it would read "pychart_ttfont_name" parameter from OpenERP config file.

Such as TTFont name in OpenERP config file, as below: ; Simsun is chinese font name, insteaded by your font(the font file must exist in you sys font path) pychart_ttfont_name = Simsun

Have fun !

支持pychart中文报表,如“库存预测”、“工作中心负载” 等报表。

本模块原理是先让pychart 生成svg 文件,然后用cairosvg 模块生成PDF报表。

依赖模块:python-cairo python-cairosvg Debian/Ubuntu安装方法: $ sudo apt-get install python-cairo python-cairosvg

如果你安装了oecn_base_fonts模块,会自动读取oecn_base_fonts 的字体设置. 否则将会读取 OpenERP 配置文件中的 pychart_ttfont_name 参数, 示例如下: ; 默认使用宋体,可以修改。注意字体文件必须存在系统字体目录下。 pychart_ttfont_name = Simsun

祝你好运 ~

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.