[-] PDF : #PSCFV-2795 : Add font : freeserif and fix bug in tcpdf.php

This commit is contained in:
lLefevre
2012-06-26 13:01:18 +00:00
parent dce1d84e26
commit 7362dcebc1
5 changed files with 19 additions and 1 deletions
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
+2 -1
View File
@@ -9409,7 +9409,8 @@ class TCPDF {
$nextk = -1;
$prevint = false;
foreach ($range as $k => $ws) {
if (($k == $nextk) AND (!$prevint) AND ((!isset($ws['interval'])) OR (count($ws) < 4))) {
$cws = count($ws);
if (($k == $nextk) AND (!$prevint) AND ((!isset($ws['interval'])) OR ($cws < 4))) {
if (isset($range[$k]['interval'])) {
unset($range[$k]['interval']);
}