projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cde817
)
corrected a typo
author
Tony Gu
<tony@wonderland>
Mon, 20 Dec 2010 08:26:15 +0000
(16:26 +0800)
committer
Tony Gu
<tony@wonderland>
Mon, 20 Dec 2010 08:26:15 +0000
(16:26 +0800)
bzr revid: tony@wonderland-
20101220082615
-k92tie6gnxd5v01a
bin/report/render/rml2pdf/trml2pdf.py
patch
|
blob
|
history
diff --git
a/bin/report/render/rml2pdf/trml2pdf.py
b/bin/report/render/rml2pdf/trml2pdf.py
index
043814a
..
1728352
100644
(file)
--- a/
bin/report/render/rml2pdf/trml2pdf.py
+++ b/
bin/report/render/rml2pdf/trml2pdf.py
@@
-256,8
+256,7
@@
class _rml_doc(object):
from reportlab.pdfbase.ttfonts import TTFont
if fontname not in pdfmetrics._fonts:
- pdfmetrics.registerFont(TTFont(name, fname ))
- pdfmetrics.registerFont(TTFont(fontname, filename ))
+ pdfmetrics.registerFont(TTFont(fontname, filename ))
if (mode == 'all'):
addMapping(face, 0, 0, fontname) #normal
addMapping(face, 0, 1, fontname) #italic