title: Strange behavior (bugs?) in Graphviz
body: <p>I'm trying to use the <code>dot</code> program included with GraphViz (version 2.28.0 (20121023.0419)) to convert the following graphviz file:</p>
  
  <pre><code>digraph {
  1 [
    shape=none
    ,label=&lt;&lt;TABLE BGCOLOR="lightblue2" BORDER="0" CELLBORDER="0" STYLE="rounded" &gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT FACE="Helvetica" POINT-SIZE="20"&gt;Heading 1&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;
                   &lt;TR&gt;&lt;TD&gt;Body 1&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;&gt;
    ];
  3 [
    shape=none
    ,label=&lt;&lt;TABLE&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT FACE="Helvetica" POINT-SIZE="16"&gt;Heading 2&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;
                   &lt;TR&gt;&lt;TD&gt;Body 2&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;&gt;
    ,color=lightblue2];
  2 [
    shape=none
    ,label=&lt;&lt;TABLE&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT FACE="Helvetica" POINT-SIZE="16"&gt;Heading 3&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;
                   &lt;TR&gt;&lt;TD&gt;Line 1&lt;BR /&gt;Line 2&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;&gt;
    ,color=lightblue2];
  }
  </code></pre>
  
  <p>First, I tried running to create a PDF (same result on Linux and Mac OS):</p>
  
  <blockquote>
    <p>dot  -Tpdf  -Gcharset=utf8  test.dot > output.pdf</p>
  </blockquote>
  
  <p><img src="https://i.stack.imgur.com/4JqOo.png" alt=""></p>
  
  <p><strong>Issues:</strong></p>
  
  <ol>
  <li>Incorrect font rendering: Heading 1 is underlined, the Heading 3 is italic, but all of them are specified using the exact same font face.</li>
  <li>Border around the first node: I specified <code>BORDER="0"</code> but apparently the border is visible anyway when using STYLE="rounded"...</li>
  </ol>
  
  <p>Next I tried to create an SVG file instead, which solves the font rendering issues:</p>
  
  <blockquote>
    <p>dot  -Tsvg  -Gcharset=utf8  test.dot > output.svg</p>
  </blockquote>
  
  <p><img src="https://i.stack.imgur.com/0rygx.png" alt=""></p>
  
  <p>As you can see the text overflows the borders of the node. This happens even if I add a <code>FIXEDWIDTH="FALSE"</code> to the table. </p>
  
  <p>What am I doing wrong?</p>