title: tcpdf center text not fully in center
body: <p>I am trying to center the footer text</p>
  
  <pre><code>function Footer(){
      $txt = 'Page %s of %s';
      if (empty($this-&gt;pagegroups)) {
          $txt = sprintf($txt, $this-&gt;getAliasNumPage(), $this-&gt;getAliasNbPages());
      } else {
          $txt = sprintf($txt, $this-&gt;getPageNumGroupAlias(), $this-&gt;getPageGroupAlias());
      }
      $this-&gt;MultiCell(0, 0, $txt, 1, 'C', false, 1, PDF_MARGIN_LEFT, $this-&gt;y);
  }
  </code></pre>
  
  <p>As you can see in the image the cell is getting positioned correctly, the problem is with centering the text. </p>
  
  <p><img src="https://i.stack.imgur.com/FJesQ.jpg" alt="enter image description here"></p>
  
  <p>I get the same result if I change the MultiCell to something more straight forward:</p>
  
  <pre><code>$this-&gt;SetXY(PDF_MARGIN_LEFT, $this-&gt;y);
  $this-&gt;Cell(0, 0, $txt, 1, 1, 'C');
  </code></pre>