summaryrefslogtreecommitdiff
path: root/bin/addons/base/module/module.py
diff options
context:
space:
mode:
authorP. Christeas <p_christ@hol.gr>2010-11-23 17:20:02 +0200
committerP. Christeas <p_christ@hol.gr>2010-11-23 17:20:02 +0200
commit3e3270264fb49739144e4fefd6a55182ea9900cc (patch)
tree079afe3df29a570a0a3b123e4ea38a218055ca7d /bin/addons/base/module/module.py
parent6e893f1e9e607b3fcf392ae9cbbb4f7c696d4bd3 (diff)
trml2pdf: Fix using of custom fonts in reports
That snippet of code practically meant "don't use anything but the standard fonts (by name) in the report". It obviously wanted to prevent the rml2pdf engine from crashing at a non-existent font. Well, if the report specifies a font that cannot be mapped by the system, it should preferably raise an exception (and ask us to fix the report), not silently ignore the font. Case 1: the internationalized reports, where font name is used to select a Unicode-capable font. Case 2: l10n_ch, where the OCR-B font had to be used (perhaps legal req.) bzr revid: p_christ@hol.gr-20101123152002-es404ul29rsohzqd
Diffstat (limited to 'bin/addons/base/module/module.py')
0 files changed, 0 insertions, 0 deletions