diff --git a/src/ReportBase/_GraphvizReportDialog.py b/src/ReportBase/_GraphvizReportDialog.py index 3748df332..1eeaf0fa9 100644 --- a/src/ReportBase/_GraphvizReportDialog.py +++ b/src/ReportBase/_GraphvizReportDialog.py @@ -416,7 +416,7 @@ class GVPsDoc(GVDocBase): dotfile.close() # Generate the PS file. - os.system( 'dot -Tps2 -o"%s" "%s"' % (self._filename, tmp_dot) ) + os.system( 'dot -Tps:cairo -o"%s" "%s"' % (self._filename, tmp_dot) ) # Delete the temporary dot file os.remove(tmp_dot) @@ -743,7 +743,7 @@ class GVPdfGsDoc(GVDocBase): os.close( handle ) # Generate PostScript using dot - command = 'dot -Tps -o"%s" "%s"' % ( tmp_ps, tmp_dot ) + command = 'dot -Tps:cairo -o"%s" "%s"' % ( tmp_ps, tmp_dot ) os.system(command) # Add .5 to remove rounding errors.