summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2014-04-07 14:10:15 +0200
committerOlivier Dony <odo@openerp.com>2014-04-07 14:10:15 +0200
commitf042113b6fcf713b1dcb2803721268fe099ea5ad (patch)
treea45ca16d0577ed988c8ec9c41e4e3255ba8783c6 /addons/web/static/src/xml
parent2372d305203deef40f19c075a8144113d3226a19 (diff)
[FIX] res.font: re-introduce substitution for builtin PDF fonts
This substitution was removed when res.font was implemented based on the idea that it would be best to allow the use of the real Helvetica/Times/Courier font if really required. However the builtin ones are always available and crippled when it comes to Unicode supports. Combined with the fact that many RML/SXW reports had Helvetica hardcoded, this breaks unicode reports for many users. This patch re-introduces a mapping to replace the builtin fonts by a few common and free alternatives (DejaVu, Liberation and Free font families). When an actual Helvetica/Times/Courier font is installed no substitution takes place for it, in the hope that it comes with decent unicode support. bzr revid: odo@openerp.com-20140407121015-jq1qmg0hfu0dt31s
Diffstat (limited to 'addons/web/static/src/xml')
0 files changed, 0 insertions, 0 deletions