title: Why is there a left padding in a cell using FPDF in php?
body: <p>I am printing a cell using the FPDF(<a href="http://www.fpdf.org/" rel="noreferrer">http://www.fpdf.org/</a>) class in php. The cell should be placed into the top left corner.</p>
  
  <p>Everything works great, except that a left padding is added inside the cell.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>$pdf = new FPDF('L', 'mm', array(50.8,88.9));
  $pdf-&gt;addPage('L', array(50.8,88.9));
  $pdf-&gt;SetDisplayMode(100,'default');
  $pdf-&gt;SetTextColor(0,0,0);
  $pdf-&gt;SetMargins(0,0,0);    
  $pdf-&gt;SetAutoPageBreak(0);
  $pdf-&gt;SetFont('Arial','',8.5);
  
  $pdf-&gt;SetXY(0, 0); //sets the position for the name
  $pdf-&gt;Cell(0,2.98740833, "Your Name", '1', 2, 'L', false); //Name
  </code></pre>
  
  <p>Here's a screenshot of the PDF that is outputting with FPDF:</p>
  
  <p><img src="https://i.stack.imgur.com/QquaL.jpg" alt="Screenshot of PDF output with FPDF"></p>
  
  <p>Why is there a left padding in a cell using FPDF in php and how can I remove the padding?</p>