Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuszkrzaczkowski committed Jan 30, 2017
1 parent f419023 commit 1385550
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion mpdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -30644,8 +30644,12 @@ function ConvertSize($size = 5, $maxsize = 0, $fontsize = false, $usefontsize =
} else {
$size *= $maxsize * 2;
}
} else
} else {
if (is_string($size)) {
$size = 0;
} /* fix height: auto issue - https://github.com/mpdf/mpdf/issues/294 */
$size *= (25.4 / $this->dpi); //nothing == px
}

return $size;
}
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
return [
'patch' => '2017.01.30',
'version' => '0.0.1'
'version' => '0.0.2'
];

0 comments on commit 1385550

Please sign in to comment.