Skip to content

Commit

Permalink
fix bug for php8.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
isszz authored May 17, 2022
1 parent ed3fd95 commit cf73fc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/font/lib/table/type/Cmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ protected function _parse()
$gid = $font->readUInt16();

if ($gid != 0 && $gid != '') {
$gid = ($gid + $d) & 0xFFFF;
$gid = ((int) $gid + $d) & 0xFFFF;
}
}

Expand Down

0 comments on commit cf73fc8

Please sign in to comment.