Skip to content

Commit

Permalink
Merge pull request #2 from ohgoodlord/feature/fix-chr-php-7-4
Browse files Browse the repository at this point in the history
Fix type for PHP 7.4
  • Loading branch information
AlexandruGG authored Jul 30, 2020
2 parents 5e36992 + fcca99f commit 08ccc22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tcpdf/include/tcpdf_fonts.php
Original file line number Diff line number Diff line change
Expand Up @@ -1664,6 +1664,7 @@ public static function getFontRefSize($size, $refsize=12) {
* @public static
*/
public static function unichr($c, $unicode=true) {
$c = intval($c);
if (!$unicode) {
return chr($c);
} elseif ($c <= 0x7F) {
Expand Down

0 comments on commit 08ccc22

Please sign in to comment.