[FIX] report: default font set as helvetica
bzr revid: mat@openerp.com-20131003135018-2jr68cfbffda53m3
This commit is contained in:
parent
61490461f6
commit
dd2cbe92b5
|
@ -395,7 +395,7 @@ class res_company(osv.osv):
|
||||||
'rml_header2': _header2,
|
'rml_header2': _header2,
|
||||||
'rml_header3': _header3,
|
'rml_header3': _header3,
|
||||||
'logo':_get_logo,
|
'logo':_get_logo,
|
||||||
'font':'DejaVuSans'
|
'font':'Helvetica',
|
||||||
}
|
}
|
||||||
|
|
||||||
_constraints = [
|
_constraints = [
|
||||||
|
|
|
@ -104,7 +104,7 @@ def RegisterCustomFonts():
|
||||||
"""
|
"""
|
||||||
global CustomTTFonts
|
global CustomTTFonts
|
||||||
all_system_fonts = all_sysfonts_list()
|
all_system_fonts = all_sysfonts_list()
|
||||||
if len(all_system_fonts) > _fonts_cache['total_system_fonts']:
|
if len(all_system_fonts) != _fonts_cache['total_system_fonts']:
|
||||||
font_modes, last_family, registered_font_list, _fonts_cache['registered_fonts'] = {}, "", [], list(BasePDFFonts)
|
font_modes, last_family, registered_font_list, _fonts_cache['registered_fonts'] = {}, "", [], list(BasePDFFonts)
|
||||||
|
|
||||||
#Prepares a list of registered fonts. Remove such fonts those don't have cmap for Unicode.
|
#Prepares a list of registered fonts. Remove such fonts those don't have cmap for Unicode.
|
||||||
|
|
Loading…
Reference in New Issue