title: Unable to load font in Allegro
body: <p>I'm playing around with Allegro 5 in C++ and Visual Studio 2012, but for some reason I can't get a font to load using the sample code from the Allegro wiki:</p>
  
  <pre><code>    ALLEGRO_FONT *font = al_load_ttf_font("pirulen.ttf",72,0 );
  
     if (!font){
        fprintf(stderr, "Could not load 'pirulen.ttf'.\n");
        return false;
     }
  
     al_clear_to_color(al_map_rgb(50,10,70));
     al_draw_text(font, al_map_rgb(255,255,255), 640/2, (480/4),ALLEGRO_ALIGN_CENTRE, "It worked!");
  </code></pre>
  
  <p>I've tried placing the font file in about every feasible directory in my Visual Studio project, as well as in the directory the .exe is in (as is suggested by several other threads).  I also tried just dropping a copy of it on the C: drive and calling it with the fully qualified path: I tried <code>C:\\pirulen.ttf</code> and <code>C:/pirulen.ttf</code> neither of which worked.  I've also tried adding it to the "Resource Files" folder in my project, but that did not work either.</p>
  
  <p>Any advice on what could be going on?</p>
  
  <p>Thanks.</p>