title: Raphael's `getFont` method doesn't work (?)
body: <p>I'm having some problems creating text using <em>Raphael.js</em>'s <code>print</code> method. To be more precise, the <code>getFont</code> method that the <code>print</code> method requires, returns an <code>undefined</code> value. I put together a very simple fiddle <a href="http://jsfiddle.net/WbL26/" rel="nofollow"><strong>here</strong></a> to try to find the source of the problem, but with no luck so far. The same fiddle code is bellow:</p>
  
  <pre><code>&lt;div id="canvas" style="width:500px; height:300px; outline: 1px solid #000;"&gt;&lt;/div&gt;​
  </code></pre>
  
  <p>And the JavaScript:</p>
  
  <pre><code>var canvas, font, text;
  
  canvas = new Raphael(document.getElementById("canvas", 500, 300));
  font = canvas.getFont("Arial");
  text = canvas.print(0, 0, "Some text", font, 24).attr({ "fill": "#C00" });​
  </code></pre>
  
  <p>The canvas is created, even the path is drawn (despite the fact the the value of <em>font</em> is undefined), but the font object is returned undefined. And I've tried with "Arial" font too. After all, these two are standard, so we're not talking about custom fonts.</p>
  
  <p>Any ideas why this happens?</p>