Number: 1551
Title: SVG output for the same input differs on multiple machines
Submitter: Julian Reschke
Date: Mon Jan 19 08:13:47 2009
Subsys: Dot
Version: 2.20.3
System: x86-Windows-XPSP3
Severity: major
Problem:
I've got two Windows machines, running the same XP and dot versions.

Their SVG output differs for a strange reason. Specifying -Gdpi=x doesn't affect the result.
Input file: b1551.dot
Output file: b1551.svg
Comments:
Output on 1st machine starts with:


<svg width="360pt" height="206pt"
 viewBox="0.00 0.00 360.00 206.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">

on second machine:


<svg width="320pt" height="206pt"
 viewBox="0.00 0.00 320.00 206.00" xmlns="http://www.w3.org/2000/svg"

[ellson] I've no idea! Weird! What does "dot -v -Tsvg ..." show on the two machines?

[julian] Exactly the same thing:


Activated plugin library: libgvplugin_pango-5.dll
Using textlayout: textlayout:cairo
Activated plugin library: libgvplugin_dot_layout-5.dll
Using layout: dot:dot_layout
Activated plugin library: libgvplugin_core-5.dll
Using render: svg:core
Using device: svg:svg:core
The plugin configuration file:
        C:ProgrammeGraphvizbinconfig
                was successfully loaded.
    render      :  cairo dot fig gd map ps svg tk vml vrml xdot
    layout      :  circo dot fdp neato nop nop1 nop2 twopi
    textlayout  :  textlayout
    device      :  canon cmap cmapx cmapx_np dia dot eps fig gd gd2 gif hpgl ima
p imap_np ismap jpe jpeg jpg mif mp pcl pdf pic plain plain-ext png ps ps2 svg s
vgz tk vml vmlz vrml vtx wbmp xdot
    loadimage   :  (lib) gd gd2 gif jpe jpeg jpg png ps svg
fontname: "Times-Roman" resolved to: (ps) "Times New Roman 13.9990234375"
network simplex: 6 nodes 5 edges 0 iter 0.00 sec
mincross: pass 0 iter 0 trying 0 cur_cross 0 best_cross 0
mincross _anonymous_0: 0 crossings, 0.00 secs.
network simplex: 11 nodes 13 edges 1 iter 0.00 sec
routesplines: 5 edges, 15 boxes 0.00 sec
Using render: svg:core
Using device: svg:svg:core

[ellson] You attached 1.svg which was the 360+206 version.

Could you please send me the other SVG as well? The 320x206 verion?
Owner: *
Status: *