id summary reporter owner description type status priority component severity resolution keywords cc release 5663 Graphviz SVG output Scaled poorly with default setting of DPI = 96 Russ Tyndall Peter Kropf "I am upgrading from an old trac install to a new trac install on a new server. My old install was trac-11.5-stable running graphvizplugin-0.6.9. All my graphs on the new setup were scaled badly and the viewport cut off some of the details on the side/bottom of the graph. I tracked the thing that changed down to emitting the dot param -Gdpi=96. (In the older version I was using this param was elided). Without this parameter everything renders correctly. I fixed this by setting the following in my trac.ini, but this seems like unintended behaviour either way. {{{ #!ini [graphviz] default_graph_dpi = 72 }}} Running on Trac-0.11.6stable_r8458-py2.6 {{{ $ svn info Path: . URL: http://trac-hacks.org/svn/graphvizplugin/0.11 Repository Root: http://trac-hacks.org/svn Repository UUID: 7322e99d-02ea-0310-aa39-e9a107903beb Revision: 6365 Node Kind: directory Schedule: normal Last Changed Author: cboos Last Changed Rev: 5995 Last Changed Date: 2009-06-09 04:27:19 -0400 (Tue, 09 Jun 2009) and the latest graphvizplugin 0.7.6dev-r6365 }}} ==== How to Reproduce ==== Render any graph through dot with the mentioned version with the default setting of dpi=96. Observe that the graph is scaled wrong and cuts off the edge of the graph. You can see that it is scaling the whole graph by emitting the following in the svg file {{{ #!xml }}} HTH, Russ" defect new normal GraphvizPlugin major evgley@… Mitar 0.11