Skip to content

Commit

Permalink
fixed underline issue on line break (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
ole committed May 26, 2017
1 parent 0ded974 commit 886d874
Show file tree
Hide file tree
Showing 2 changed files with 174 additions and 188 deletions.
5 changes: 4 additions & 1 deletion examples/issue-69.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

$Data = array();
$Data[0] = array();
$Data[0]["Col0"] = "<u><b>Bold and Underlined</b></u>";
$Data[0]["Col0"] = "<b><u>Bold and Underlined</u></b>";

$P = new Cezpdf("a4", "portrait");
if (strpos(PHP_OS, 'WIN') !== false) {
Expand All @@ -47,6 +47,9 @@
$P->ezTable($Data, $Columns, "", $Options);
$P->ezText(" ", 10);

$Data[0]["Col0"] = "<u><b>Bold and Underlined</b></u>";

$P->ezText("<u><b>Bold and Underlined</b></u>", 10, array("justification"=>"left"));
$P->ezText(" ", 10);
$P->ezTable($Data, $Columns, "", $Options);
$P->ezText(" ", 10);
Expand Down
Loading

0 comments on commit 886d874

Please sign in to comment.