title: Font anomaly in FLTK Hello World
body: <p>I am trying to start learning how to use the FLTK GUI tool kit to make a basic text editor and I'm having a problem with this simple Hello World from the documentation tutorial.</p>
  
  <pre><code>#include &lt;FL/Fl.H&gt;
  #include &lt;FL/Fl_Window.H&gt;
  #include &lt;FL/Fl_Box.H&gt;
  
  int main(int argc, char **argv) {
      Fl_Window *window = new Fl_Window(340,180);
      Fl_Box *box = new Fl_Box(20,40,300,100,"Hello, World!");
      box-&gt;box(FL_UP_BOX);
      box-&gt;labelfont(FL_BOLD+FL_ITALIC);
      box-&gt;labelsize(36);
      box-&gt;labeltype(FL_SHADOW_LABEL);
      window-&gt;end();
      window-&gt;show(argc, argv);
      return Fl::run();
   }
  </code></pre>
  
  <p>The program compiles without problems but the text displayed is in a very small font that is neither bold nor italic when it should be. Changing the value of labelsize() doesn't affect the font neither.</p>
  
  <p>I have run the ./fonts program provided in the test folder of the FLTK distribution and most of the fonts displayed there are in the same default unresizable font.
  Only a few fonts there appear in bold and italic and are resizable.</p>
  
  <p>I have downloaded MS TrueType fonts and rebuilt my font cache but that didn't resolved the issue.
  I have Linux Mint with XFCE running on a virtual machine.
  Also I am new to programming and to Linux so please bear with me! I have been trying to solve this all day without finding what I am doing wrong. Can you help me?</p>