mirror of
https://github.com/tecnickcom/TCPDF.git
synced 2025-04-12 02:01:52 +02:00
Update tcpdf_fonts.php
#813 Undefined offset: 32766 I get that bug when i import that font: http://www.dafont.com/es/accidental-presiden.font https://sourceforge.net/p/tcpdf/bugs/813/
This commit is contained in:
parent
95c5938aaf
commit
d8e86f7136
@ -665,7 +665,7 @@ class TCPDF_FONTS {
|
||||
$glyphIdArray[$k] = TCPDF_STATIC::_getUSHORT($font, $offset);
|
||||
$offset += 2;
|
||||
}
|
||||
for ($k = 0; $k < $segCount; ++$k) {
|
||||
for ($k = 0; $k < $segCount - 1; ++$k) {
|
||||
for ($c = $startCount[$k]; $c <= $endCount[$k]; ++$c) {
|
||||
if ($idRangeOffset[$k] == 0) {
|
||||
$g = ($idDelta[$k] + $c) % 65536;
|
||||
|
Loading…
x
Reference in New Issue
Block a user