From f36a7c9b6693d621911849c9b3d8c2ba2aef7b3c Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Thu, 6 Sep 2012 20:06:38 +0000 Subject: [PATCH] Bugfix to print fanchart svn: r20343 --- src/plugins/view/fanchartview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/view/fanchartview.py b/src/plugins/view/fanchartview.py index ba23c45e2..a209f37fb 100644 --- a/src/plugins/view/fanchartview.py +++ b/src/plugins/view/fanchartview.py @@ -217,7 +217,7 @@ class FanChartView(FanChartGrampsGUI, NavigationView): """ Print or save the view that is currently shown """ - widthpx = 2*(self.fan.pixels_per_generation * self.fan.nrgen() + widthpx = 2*(self.fan.PIXELS_PER_GENERATION * self.fan.nrgen() + self.fan.center) prt = CairoPrintSave(widthpx, self.fan.on_draw, self.uistate.window) prt.run()