From 824f8c45edb20e27221e92805b0090f1768a2756 Mon Sep 17 00:00:00 2001 From: tcit Date: Sat, 27 Sep 2014 19:34:17 +0200 Subject: changed mpdf with tcpdf --- .../libraries/mpdf/utils/font_collections.php | 72 ---------------------- 1 file changed, 72 deletions(-) delete mode 100644 inc/3rdparty/libraries/mpdf/utils/font_collections.php (limited to 'inc/3rdparty/libraries/mpdf/utils/font_collections.php') diff --git a/inc/3rdparty/libraries/mpdf/utils/font_collections.php b/inc/3rdparty/libraries/mpdf/utils/font_collections.php deleted file mode 100644 index 20f387ef..00000000 --- a/inc/3rdparty/libraries/mpdf/utils/font_collections.php +++ /dev/null @@ -1,72 +0,0 @@ -Font collection files found in '.$ttfdir.' directory'; -foreach($ff AS $f) { - $ret = array(); - if (strtolower(substr($f,-4,4))=='.ttc' || strtolower(substr($f,-4,4))=='.ttcf') { // Mac ttcf - $ttf->getTTCFonts($ttfdir.$f); - $nf = $ttf->numTTCFonts; - echo '

Font collection file ('.$f.') contains the following fonts:

'; - for ($i=1; $i<=$nf; $i++) { - $ret = $ttf->extractCoreInfo($ttfdir.$f, $i); - $tfname = $ret[0]; - $bold = $ret[1]; - $italic = $ret[2]; - $fname = strtolower($tfname ); - $fname = preg_replace('/[ ()]/','',$fname ); - $style = ''; - if ($bold) { $style .= 'Bold'; } - if ($italic) { $style .= 'Italic'; } - if (!$style) { $style = 'Regular'; } - - - echo '
['.$i.'] '.$tfname.' ('.$fname.') '.$style.'
'; - - } - echo '
'; - } -} - - -exit; - -?> \ No newline at end of file -- cgit v1.2.3