diff -r 7ce719013078 -r 36e9f388958b E5Graphics/E5GraphicsView.py --- a/E5Graphics/E5GraphicsView.py Sat Oct 19 13:03:39 2013 +0200 +++ b/E5Graphics/E5GraphicsView.py Sat Oct 19 14:05:26 2013 +0200 @@ -320,10 +320,10 @@ width = printer.width() - marginX \ - Preferences.getPrinter("RightMargin") * int( - printer.resolution() / 2.54) + printer.resolution() / 2.54) height = printer.height() - fontHeight - 4 - marginY \ - Preferences.getPrinter("BottomMargin") * int( - printer.resolution() / 2.54) + printer.resolution() / 2.54) border = self.border == 0 and 5 or self.border rect = self._getDiagramRect(border)