title: iPhone/iPad HTML5 Canvas fillText problem
body: <p>I'm having strange issues with text on a canvas when using an iPhone or iPad.
  Either the text gets drawn properly (rarely), or it gets drawn upside down, or it doens't get drawn at all.
  When the text does manage to get drawn, it is wiped when the iPhone/Pad is rotated.</p>
  
  <p>I have the following code. It seems that I can only get the text to stay on the page at all if I use a setTimeout. It seems to be drawn over if I call fillText as soon as the document is loaded. </p>
  
  <p>Anyone else experiencing this sort of problem?</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
  &lt;meta charset="utf-8" /&gt;
  &lt;script src="http://code.jquery.com/jquery-1.4.1.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
      $(document).ready(function () {
          //draw_b();
          setTimeout('draw_b()', 500); ;
      });
  
      function draw_b() {
          var b_canvas = document.getElementById("cv");
          var context = b_canvas.getContext("2d");
          context.fillText("Belated hello world", 50, 50);
      }
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;canvas id="cv" width="300" height="225"&gt;&lt;/canvas&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>