| @@ -12,9 +12,12 @@ | ||
| 12 | 12 | |
| 13 | 13 | |
| 14 | 14 | $checkdir = ''; |
| 15 | 15 | |
| 16 | + | |
| 16 | 17 | ////////////////////////////////// |
| 18 | +////////////////////////////////// | |
| 19 | +////////////////////////////////// | |
| 17 | 20 | |
| 18 | 21 | |
| 19 | 22 | set_time_limit(600); |
| 20 | 23 | ini_set("memory_limit","256M"); |
| @@ -36,9 +39,9 @@ | ||
| 36 | 39 | |
| 37 | 40 | |
| 38 | 41 | $mqr=ini_get("magic_quotes_runtime"); |
| 39 | 42 | if ($mqr) { set_magic_quotes_runtime(0); } |
| 40 | -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'); } | |
| 41 | 44 | |
| 42 | 45 | //============================================================== |
| 43 | 46 | $smp = true; |
| 44 | 47 | $maxt = 131071; |
| @@ -81,9 +84,9 @@ | ||
| 81 | 84 | //============================================================== |
| 82 | 85 | $ff = scandir($ttfdir); |
| 83 | 86 | $tempfontdata = array(); |
| 84 | 87 | foreach($ff AS $f) { |
| 85 | - $ttf = new TTFontFile_Analysis(); | |
| 88 | + $ttf = new TTFontFile(); | |
| 86 | 89 | $ret = array(); |
| 87 | 90 | $isTTC = false; |
| 88 | 91 | if (strtolower(substr($f,-4,4))=='.ttf' || strtolower(substr($f,-4,4))=='.otf') { |
| 89 | 92 | $ret[] = $ttf->extractCoreInfo($ttfdir.$f); |