title: How to increase font size
body: <p>I have a little problem which seems silly to me but I cant find a solution to it on the internet. I have a code in which a font is initialized using a ttf file as follows.</p>
  
  <pre><code>  InputStream is = new BufferedInputStream(new FileInputStream(
              "dundalkh.ttf"));
    Font f = Font.createFont(Font.TRUETYPE_FONT, is);
  </code></pre>
  
  <p>Now I use the Graphics Component to draw a String on the screen. Before drawing the string I use the following line:</p>
  
  <pre><code> g.setFont(f);
   g.drawString("Title",300,30);
  </code></pre>
  
  <p>However the size of my font is very small. When I used the f.getSize() method it prints 1.
  How should I increase the font size?</p>