title: TCPDF: How to set FONT SIZE in right way
body: <p>I want to set some text-blocks by TCPDF. But I have some problems with font size. First text block is on x-y/5-5, and his font size is 5 to. But it is samaller then 5. Font-size in TCPDF is not in the same units like other dimensions ?</p>
  
  <p><img src="https://i.stack.imgur.com/adBRr.jpg" alt="TCPDF - dimensions and font-size"></p>
  
  <p><strong>PHP</strong></p>
  
  <pre><code>$text1 = 'AAAg';
  $text1_x = 5;
  $text1_y = 5;
  $text1_font_size = 5;
  
  $text2 = 'BBBg';
  $text2_x = 10;
  $text2_y = 10;
  $text2_font_size = 10;
  
  $text3 = 'CCCg';
  $text3_x = 15;
  $text3_y = 15;
  $text3_font_size = 15;
  // I tried  $pdf-&gt;Cell and $pdf-&gt;Text... both are doing the same...
  </code></pre>
  
  <p><a href="http://ynternet.sk/pdf_test.php" rel="nofollow noreferrer">Web example.</a></p>