title: C# and libharu: using TTF-Fonts
body: <p>I'm trying to use TTF-Fonts within libharu.</p>
  
  <pre><code>string arialtmp = doc.LoadTTFontFromFile("c:\\windows\\fonts\\ariali.ttf", true);
  HPdfFont arial2 = doc.GetFont(arialtmp, "CP1250");
  
  page.SetFontAndSize(arial2, 25);
  page.BeginText();
  page.MoveTextPos(50, 650);
  page.ShowText("bla blaa!!");
  page.EndText();
  </code></pre>
  
  <p>But libharu don't use ariali.ttf . I'm getting no compile error or anything else, libharu just don't use the font. I can also write damn.ttf and get the same result. </p>
  
  <p>So what's wrong? </p>
  
  <p>I'm using libharu with c# interface and Visual Studio 2010</p>