Skip to content

New Issue (first occurence in 0.12.34) #69

@Manuzza

Description

@Manuzza

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions