~openerp-chinese-team/openerp-china/openerp-china

6 by jeff
pdf fonts replace, next step:_get_system_fonts
1
# -*- encoding: utf-8 -*-
2
# __author__ = tony@openerp.cn
3
##############################################################################
4
#
5
#    This program is free software: you can redistribute it and/or modify
6
#    it under the terms of the GNU General Public License as published by
7
#    the Free Software Foundation, either version 3 of the License, or
8
#    (at your option) any later version.
9
#
10
#    This program is distributed in the hope that it will be useful,
11
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
12
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
#    GNU General Public License for more details.
14
#
15
#    You should have received a copy of the GNU General Public License
16
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
#
18
##############################################################################
19
{
27 by Tony Gu
make the description of module a bit clearer
20
    "name" : "pdf report support for your language",
6 by jeff
pdf fonts replace, next step:_get_system_fonts
21
    "version" : "2.1",
22
    "author" : "Shine IT",
23
    "maintainer":"jeff@openerp.cn",
24
    "website": "http://www.openerp.cn",
25
    "description": """
27 by Tony Gu
make the description of module a bit clearer
26
    Fonts defined in the default report may not support characters
27
    in your language, which may cause jarbled characters in the printed
28
    pdf report.
29
    
30
    This addon will solve abovementioned issue elegently by using openerp
31
    customfonts API to replace the original fonts with your seleted fonts.
32
33
    Please click open Settings/Configuration/Configuration Wizards/Configuration Wizards
34
    click the launch buttong(gear icon) on the line of 'Configure fonts mapping for pdf report'
35
    
36
    set up the font mapping from the poped window there and
37
    
38
    have fun!
39
    """,
6 by jeff
pdf fonts replace, next step:_get_system_fonts
40
    "depends" : ["base"],
41
    "category" : "Generic Modules/Base",
42
    "demo_xml" : [],
43
    "update_xml" : ["oecn_base_fonts_view.xml"],
44
    "license": "GPL-3",
45
    "active": False,
46
    "installable": True
47
}
48
49
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
50