summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/__init__.py
diff options
context:
space:
mode:
authorP. Christeas <p_christ@hol.gr>2010-11-26 12:34:59 +0200
committerP. Christeas <p_christ@hol.gr>2010-11-26 12:34:59 +0200
commit7c55e521a3b6aa0e45599c67158cf392e57173ea (patch)
treea2af3c626283d8709dd36c94839ae78ccbfdcb67 /addons/analytic_user_function/__init__.py
parentca6fada2564ce40efd2d660755bf7c2f1c7cf006 (diff)
customfonts: search path for fonts, override the broken of reportlab
Several Linux distros still ship with a broken reportlab config, which looks at "c:\winnt\fonts" for fonts! Since they have not fixed that for months, we have to do their job and have a custom search path of: - paths from the config file (ttfonts.search_path key) - sensible defaults for distros, considering os.name and os.uname - default reportlab path (opt-out with ttfonts.use_default_path=False) The result is that we will have more chance of locating TTF fonts and use them (as now required) in the PDF reports. bzr revid: p_christ@hol.gr-20101126103459-5wv7crw3i3b56adr
Diffstat (limited to 'addons/analytic_user_function/__init__.py')
0 files changed, 0 insertions, 0 deletions