I am printing a cell using the FPDF class ( http://www.fpdf.org/ ) in php. The cell should be placed in the upper left corner.
Everything works fine, except that a left pad is added to the cell.
Here is my code:
$pdf = new FPDF('L', 'mm', array(50.8,88.9)); $pdf->addPage('L', array(50.8,88.9)); $pdf->SetDisplayMode(100,'default'); $pdf->SetTextColor(0,0,0); $pdf->SetMargins(0,0,0); $pdf->SetAutoPageBreak(0); $pdf->SetFont('Arial','',8.5); $pdf->SetXY(0, 0);
Here is a screenshot of the PDF that is output using FPDF:

Why is there a left padding in a cell using FPDF in php and how can I remove a padding?
source share