| @@ -39,9 +39,9 @@ | ||
| 39 | 39 | |
| 40 | 40 | |
| 41 | 41 | $mqr=ini_get("magic_quotes_runtime"); |
| 42 | 42 | if ($mqr) { set_magic_quotes_runtime(0); } |
| 43 | -if (!class_exists('TTFontFile_Analysis', false)) { include(_MPDF_PATH .'classes/ttfontsuni_analysis.php'); } | |
| 43 | +if (!class_exists('TTFontFile', false)) { include(_MPDF_PATH .'classes/ttfontsuni.php'); } | |
| 44 | 44 | |
| 45 | 45 | //============================================================== |
| 46 | 46 | $smp = true; |
| 47 | 47 | $maxt = 131071; |
| @@ -84,9 +84,9 @@ | ||
| 84 | 84 | //============================================================== |
| 85 | 85 | $ff = scandir($ttfdir); |
| 86 | 86 | $tempfontdata = array(); |
| 87 | 87 | foreach($ff AS $f) { |
| 88 | - $ttf = new TTFontFile_Analysis(); | |
| 88 | + $ttf = new TTFontFile(); | |
| 89 | 89 | $ret = array(); |
| 90 | 90 | $isTTC = false; |
| 91 | 91 | if (strtolower(substr($f,-4,4))=='.ttf' || strtolower(substr($f,-4,4))=='.otf') { |
| 92 | 92 | $ret[] = $ttf->extractCoreInfo($ttfdir.$f); |