** Changed in: openobject-server
   Importance: Undecided => Low

** Changed in: openobject-server
     Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)

-- 
Report : Page number font is hard coded in pdf renderer
https://bugs.launchpad.net/bugs/376456
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Server: Confirmed

Bug description:
Proposed patch

--- trml2pdf.py
+++ trml2pdf.py (working copy)
@@ -71,8 +71,9 @@
 
 class PageCount(platypus.Flowable):
     def draw(self):
+        self.canv.saveState()
         self.canv.beginForm("pageCount")
-        self.canv.setFont("Helvetica", utils.unit_get(str(8)))
+        self.canv.restoreState()
         self.canv.drawString(0, 0, str(self.canv.getPageNumber()))
         self.canv.endForm()



_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to