mirror of
https://github.com/tecnickcom/TCPDF.git
synced 2025-03-22 23:19:39 +01:00
Format code
This commit is contained in:
parent
a38e94f98f
commit
367241059c
@ -2003,10 +2003,11 @@ class TCPDF_FONTS {
|
||||
$chars = str_split($str);
|
||||
$carr = array_map('ord', $chars);
|
||||
}
|
||||
if (is_array($currentfont['subsetchars']) && is_array($carr))
|
||||
if (is_array($currentfont['subsetchars']) && is_array($carr)) {
|
||||
$currentfont['subsetchars'] += array_fill_keys($carr, true);
|
||||
else
|
||||
} else {
|
||||
$currentfont['subsetchars'] = array_merge($currentfont['subsetchars'], $carr);
|
||||
}
|
||||
return $carr;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user