[IMP] report,fonts: fallback to default Adobe fonts when font is missing - pending...
authorOlivier Dony <odo@openerp.com>
Fri, 26 Nov 2010 18:30:43 +0000 (19:30 +0100)
committerOlivier Dony <odo@openerp.com>
Fri, 26 Nov 2010 18:30:43 +0000 (19:30 +0100)
commit959d4f962eb9bd0e36a36419a754cb903c0d9b49
treea4af5ed301afad9584d1c9f63f840853e0d49545
parent38c5f460258f3bf15ae18fbc451459b5f78ccf0b
[IMP] report,fonts: fallback to default Adobe fonts when font is missing - pending improvement
We should maybe find a way to let users use their own fonts. At the moment only the 14 default Adobe fonts
(cfr reportlab.reportbase.pdfmetrics.standardFonts) + the ones from customfonts.py will work...
Also got rid of the mapping for ZapfDingBast, as it is a symbol font that cannot be mapped to a regular one.

bzr revid: odo@openerp.com-20101126183043-mrzipe7mdw1zs6g8
bin/report/render/rml2pdf/customfonts.py
bin/report/render/rml2pdf/trml2pdf.py