title: FPDF align text LEFT, Center and Right
body: <p>I've have three cells and i'am trying to align the text to Left, Center and Right.</p>
  
  <pre><code>function Footer() 
  { 
      $this-&gt;SetY( -15 ); 
  
  
      $this-&gt;SetFont( 'Arial', '', 10 ); 
  
      $this-&gt;Cell(0,10,'Left text',0,0,'L');
  
      $this-&gt;Cell(0,10,'Center text:',0,0,'C');
  
      $this-&gt;Cell( 0, 10, 'Right text', 0, 0, 'R' ); 
  } 
  </code></pre>
  
  <p>When I ouput my PDF file, <code>center text</code> get automatically aligned right.
  This is how it looks:</p>
  
  <p><img src="https://i.stack.imgur.com/ysV2q.png" alt="enter image description here"></p>
  
  <p>Can somebody tell me what I'm doing wrong here and how I can fix this issue?</p>