[Output Generation] Rotated graph not quite centered
Ported Issue from Mantis Original ID: 2343 Reported By: ryandesign
SEVERITY: COSMETIC Submitted: 2013-08-27 16:22:59
OS: OS X
OS BUILD: 10.8.4
PLATFORM: X86_64
PROFILE ID: 4
DESCRIPTION
When I use rotate=90 or orientation=landscape or landscape=true, I expect that the graph will look identical to the graph without that attribute, except that the entire image will be rotated counterclockwise by 90°.
In the attached graph 1.gv which does not use rotation, there is one node, and the padding on all four sides is about 8px.
However in the graph 2.gv which is the same graph but with rotation, the padding on left and right is 8px but 10px on top and 6px on bottom.
STEPS TO REPRODUCE
dot -Tpng 1.gv > 1.gv.png dot -Tpng 2.gv > 2.gv.png