In FPDF, I have a cell 176 mm wide where I need to put the client name. The problem is that the client name is not always set to this fixed width. Is there a way for the font size of the cell to automatically adjust to the width of the cell if it is too long?
This is the code that I have right now:
$pdf->Cell( 116, 7, utf8_decode( $row_or[ 'client_name' ] ), 0, 0, 'L' );
I know that TCPDF has a way to set auto-expansion, but I did not find it for FPDF. Should I do this with code?
Tales source
share