title: Qt QLabel HTML font size fails badly
body: <p>In my Qt application (uses Qt 4.7.0 from Ubuntu 10.10 Linux repository) i tried to use <code>Qt::RichText</code> QLabels using the following HTML:</p>
  
  <pre><code>    label_1-&gt;setText("&lt;font size=64&gt;size=64&lt;/font&gt;");
      label_2-&gt;setText("&lt;font color=red size=10&gt;size=10&lt;/font&gt;");
      label_3-&gt;setText("&lt;font color=blue size=14&gt;size=14&lt;/font&gt;");
  </code></pre>
  
  <p>For some reason the font sizes are not set properly. All the widgets get the same font size, one that is larger than the default one but still the wrong one. The font size set for the first widget seems to influence the size that the following widgets will use. Setting only the color attribute leaves the label text in its standard size.</p>
  
  <p>I also tried to reproduce this in the QtDesigner and the same problem happens there.</p>
  
  <p>Setting the text format to <code>Qt::Richtext</code> does not have any effect. And using quotes around the HTML attribute values does not change anything either.</p>
  
  <p>What am I missing?</p>
  
  <p><img src="https://i.stack.imgur.com/vJIdK.png" alt="enter image description here"></p>