Sorry, but the latest release has created a new issue. Very simply, this works:
$PDF->ezText("<b><u>Bold and Underlined</u></b>");
and this does not:
$PDF->ezText("<u><b>Bold and Underlined</b></u>");
The second one produces the following error:
Notice: Undefined offset: 0 in pdf_0.12.34/Cezpdf.php on line 2196
The "underline" line is drawn from the bottom left of the PDF (0,0) to the end of the line. It only fails if the <u> tag is outside the bold tag.
A "<u>" tag on it's own is fine.
Please see attached sample code and generated PDF.
Murray.
pdf_generate_underline.php.zip
underline.pdf
Sorry, but the latest release has created a new issue. Very simply, this works:
$PDF->ezText("<b><u>Bold and Underlined</u></b>");
and this does not:
$PDF->ezText("<u><b>Bold and Underlined</b></u>");
The second one produces the following error:
Notice: Undefined offset: 0 in pdf_0.12.34/Cezpdf.php on line 2196
The "underline" line is drawn from the bottom left of the PDF (0,0) to the end of the line. It only fails if the <u> tag is outside the bold tag.
A "<u>" tag on it's own is fine.
Please see attached sample code and generated PDF.
Murray.
pdf_generate_underline.php.zip
underline.pdf