title: p5.js loadFont function?
body: <p>How can I change the font in p5.js? It does not recognize the Processing term "loadFont," does not carry over a font from CSS, nor does it let me put in a .vlw file or link to a GoogleFont. At least, not in any way I have tried. </p>
  
  <p>The references page only contains "text" and "textFont" options (in the Typography section at the end of the p5.js references page), neither of which allow for actually specifying a font.</p>
  
  <p>I have also tried the </p>
  
  <pre><code>text.style('font-family', 'Walter Turncoat');
  </code></pre>
  
  <p>option listed here (<a href="https://github.com/lmccart/p5.js/wiki/Beyond-the-canvas" rel="noreferrer">https://github.com/lmccart/p5.js/wiki/Beyond-the-canvas</a>) to no avail. It actually broke the whole page. In CSS:</p>
  
  <pre><code>@font-face {
      font-family: 'Walter Turncoat';
      src: url('http://fonts.googleapis.com/css?family=Walter+Turncoat');
  }
  </code></pre>
  
  <p>Processing version did not work:</p>
  
  <pre><code>var type = loadFont("AmericanTypewriter-48.vlw");
  var smallType = loadFont("AmericanTypewriter-14.vlw");
  </code></pre>
  
  <p>Also,</p>
  
  <pre><code>var type = "Helvetica"; 
  </code></pre>
  
  <p><em>which they have in the examples for text and textFont</em> does not work.</p>
  
  <p>There has to be a way to have another font. Please help!</p>