From c58a40164d34bb0c31ef043e214edecdaf06d973 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Sun, 11 May 2008 05:05:11 +0000 Subject: [PATCH] 0002143: The dpi value is not set to 72 for ps/pdf formats for the FIRST report. svn: r10700 --- src/ReportBase/_GraphvizReportDialog.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ReportBase/_GraphvizReportDialog.py b/src/ReportBase/_GraphvizReportDialog.py index 518e25cd7..8dcb4713f 100644 --- a/src/ReportBase/_GraphvizReportDialog.py +++ b/src/ReportBase/_GraphvizReportDialog.py @@ -329,7 +329,7 @@ class GVPsDoc(GVDocBase): def __init__(self, options, paper_style): # DPI must always be 72 for PDF. # GV documentation says dpi is only for image formats. - options.handler.options_dict['dpi'] = 72 + options.menu.get_option_by_name('dpi').set_value(72) GVDocBase.__init__(self, options, paper_style) def close(self): @@ -527,7 +527,7 @@ class GVPdfGvDoc(GVDocBase): def __init__(self, options, paper_style): # DPI must always be 72 for PDF. # GV documentation says dpi is only for image formats. - options.handler.options_dict['dpi'] = 72 + options.menu.get_option_by_name('dpi').set_value(72) GVDocBase.__init__(self, options, paper_style) def close(self): @@ -565,7 +565,7 @@ class GVPdfGsDoc(GVDocBase): def __init__(self, options, paper_style): # DPI must always be 72 for PDF. # GV documentation says dpi is only for image formats. - options.handler.options_dict['dpi'] = 72 + options.menu.get_option_by_name('dpi').set_value(72) GVDocBase.__init__(self, options, paper_style) def close(self):