Using TCPDF to output to a PDF file.
I would like to print part of the text in bold using the TCPDF statement, how should I do it?
The exact output in a single line should be: How are you Alvin, I am Jodie
Below are my statements:-
$pdf->Cell(0,4,'How are you, ','','','L'); $pdf->SetFont('freesans','B',8);
$pdf->Cell(0,4,'Alvin','','','L');
$pdf->SetFont('freesans','',8);
$pdf->Cell(0,4,', I am ','','','L');
$pdf->SetFont('freesans','B',8);
$pdf->Cell(0,4,'Jodie','','','L');
I can't get it to be printed on the same line.
Please help. Thank you.