Openerp PyChart Unicode Report (Support CJK Font)
PyChart Unicode Report (Support CJK Font)
Add unicode suppoert 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-cairosvg.
Install it on Debian/Ubuntu use: $ su apt-get install python-cairosvg
You must set 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-
Debian/Ubuntu安装方法: $ su apt-get install python-cairosvg
可以在OpenERP中配置py
; 默认使用宋体,
pychart_ttfont_name = Simsun
祝你好运 ~
View full history Series and milestones
6.1 series is the current focus of development.
All packages Packages in Distributions
-
cairosvg source package in Noble
Version 2.7.1-1 uploaded -
cairosvg source package in Mantic
Version 2.7.1-1 uploaded -
cairosvg source package in Lunar
Version 2.5.2-1.1 uploaded -
cairosvg source package in Jammy
Version 2.5.2-1 uploaded -
cairosvg source package in Focal
Version 2.4.2-1 uploaded