update 1.0.8.0
Commits for version update
This commit is contained in:
@@ -356,14 +356,19 @@ class Font_Metrics {
|
||||
$font = Font::load($local_temp_file);
|
||||
|
||||
if (!$font) {
|
||||
|
||||
unlink($local_temp_file);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
$font->parse();
|
||||
$font->saveAdobeFontMetrics("$cache_entry.ufm");
|
||||
|
||||
unlink($local_temp_file);
|
||||
if (!$local_temp_file) {
|
||||
unlink($local_temp_file);
|
||||
return false;
|
||||
}
|
||||
// unlink($local_temp_file);
|
||||
|
||||
if ( !file_exists("$cache_entry.ufm") ) {
|
||||
return false;
|
||||
|
||||
BIN
vendor/dompdf/dompdf/lib/fonts/94f467820d15a73cd89ee35f2b66b463.ttf
vendored
Normal file
BIN
vendor/dompdf/dompdf/lib/fonts/94f467820d15a73cd89ee35f2b66b463.ttf
vendored
Normal file
Binary file not shown.
98
vendor/dompdf/dompdf/lib/fonts/dompdf_font_family_cache.php
vendored
Normal file
98
vendor/dompdf/dompdf/lib/fonts/dompdf_font_family_cache.php
vendored
Normal file
@@ -0,0 +1,98 @@
|
||||
<?php return array (
|
||||
'sans-serif' => array(
|
||||
'normal' => DOMPDF_FONT_DIR . 'Helvetica',
|
||||
'bold' => DOMPDF_FONT_DIR . 'Helvetica-Bold',
|
||||
'italic' => DOMPDF_FONT_DIR . 'Helvetica-Oblique',
|
||||
'bold_italic' => DOMPDF_FONT_DIR . 'Helvetica-BoldOblique',
|
||||
),
|
||||
'times' => array(
|
||||
'normal' => DOMPDF_FONT_DIR . 'Times-Roman',
|
||||
'bold' => DOMPDF_FONT_DIR . 'Times-Bold',
|
||||
'italic' => DOMPDF_FONT_DIR . 'Times-Italic',
|
||||
'bold_italic' => DOMPDF_FONT_DIR . 'Times-BoldItalic',
|
||||
),
|
||||
'times-roman' => array(
|
||||
'normal' => DOMPDF_FONT_DIR . 'Times-Roman',
|
||||
'bold' => DOMPDF_FONT_DIR . 'Times-Bold',
|
||||
'italic' => DOMPDF_FONT_DIR . 'Times-Italic',
|
||||
'bold_italic' => DOMPDF_FONT_DIR . 'Times-BoldItalic',
|
||||
),
|
||||
'courier' => array(
|
||||
'normal' => DOMPDF_FONT_DIR . 'Courier',
|
||||
'bold' => DOMPDF_FONT_DIR . 'Courier-Bold',
|
||||
'italic' => DOMPDF_FONT_DIR . 'Courier-Oblique',
|
||||
'bold_italic' => DOMPDF_FONT_DIR . 'Courier-BoldOblique',
|
||||
),
|
||||
'helvetica' => array(
|
||||
'normal' => DOMPDF_FONT_DIR . 'Helvetica',
|
||||
'bold' => DOMPDF_FONT_DIR . 'Helvetica-Bold',
|
||||
'italic' => DOMPDF_FONT_DIR . 'Helvetica-Oblique',
|
||||
'bold_italic' => DOMPDF_FONT_DIR . 'Helvetica-BoldOblique',
|
||||
),
|
||||
'zapfdingbats' => array(
|
||||
'normal' => DOMPDF_FONT_DIR . 'ZapfDingbats',
|
||||
'bold' => DOMPDF_FONT_DIR . 'ZapfDingbats',
|
||||
'italic' => DOMPDF_FONT_DIR . 'ZapfDingbats',
|
||||
'bold_italic' => DOMPDF_FONT_DIR . 'ZapfDingbats',
|
||||
),
|
||||
'symbol' => array(
|
||||
'normal' => DOMPDF_FONT_DIR . 'Symbol',
|
||||
'bold' => DOMPDF_FONT_DIR . 'Symbol',
|
||||
'italic' => DOMPDF_FONT_DIR . 'Symbol',
|
||||
'bold_italic' => DOMPDF_FONT_DIR . 'Symbol',
|
||||
),
|
||||
'serif' => array(
|
||||
'normal' => DOMPDF_FONT_DIR . 'Times-Roman',
|
||||
'bold' => DOMPDF_FONT_DIR . 'Times-Bold',
|
||||
'italic' => DOMPDF_FONT_DIR . 'Times-Italic',
|
||||
'bold_italic' => DOMPDF_FONT_DIR . 'Times-BoldItalic',
|
||||
),
|
||||
'monospace' => array(
|
||||
'normal' => DOMPDF_FONT_DIR . 'Courier',
|
||||
'bold' => DOMPDF_FONT_DIR . 'Courier-Bold',
|
||||
'italic' => DOMPDF_FONT_DIR . 'Courier-Oblique',
|
||||
'bold_italic' => DOMPDF_FONT_DIR . 'Courier-BoldOblique',
|
||||
),
|
||||
'fixed' => array(
|
||||
'normal' => DOMPDF_FONT_DIR . 'Courier',
|
||||
'bold' => DOMPDF_FONT_DIR . 'Courier-Bold',
|
||||
'italic' => DOMPDF_FONT_DIR . 'Courier-Oblique',
|
||||
'bold_italic' => DOMPDF_FONT_DIR . 'Courier-BoldOblique',
|
||||
),
|
||||
'dejavu sans' => array(
|
||||
'bold' => DOMPDF_FONT_DIR . 'DejaVuSans-Bold',
|
||||
'bold_italic' => DOMPDF_FONT_DIR . 'DejaVuSans-BoldOblique',
|
||||
'italic' => DOMPDF_FONT_DIR . 'DejaVuSans-Oblique',
|
||||
'normal' => DOMPDF_FONT_DIR . 'DejaVuSans',
|
||||
),
|
||||
'dejavu sans light' => array(
|
||||
'normal' => DOMPDF_FONT_DIR . 'DejaVuSans-ExtraLight',
|
||||
),
|
||||
'dejavu sans condensed' => array(
|
||||
'bold' => DOMPDF_FONT_DIR . 'DejaVuSansCondensed-Bold',
|
||||
'bold_italic' => DOMPDF_FONT_DIR . 'DejaVuSansCondensed-BoldOblique',
|
||||
'italic' => DOMPDF_FONT_DIR . 'DejaVuSansCondensed-Oblique',
|
||||
'normal' => DOMPDF_FONT_DIR . 'DejaVuSansCondensed',
|
||||
),
|
||||
'dejavu sans mono' => array(
|
||||
'bold' => DOMPDF_FONT_DIR . 'DejaVuSansMono-Bold',
|
||||
'bold_italic' => DOMPDF_FONT_DIR . 'DejaVuSansMono-BoldOblique',
|
||||
'italic' => DOMPDF_FONT_DIR . 'DejaVuSansMono-Oblique',
|
||||
'normal' => DOMPDF_FONT_DIR . 'DejaVuSansMono',
|
||||
),
|
||||
'dejavu serif' => array(
|
||||
'bold' => DOMPDF_FONT_DIR . 'DejaVuSerif-Bold',
|
||||
'bold_italic' => DOMPDF_FONT_DIR . 'DejaVuSerif-BoldItalic',
|
||||
'italic' => DOMPDF_FONT_DIR . 'DejaVuSerif-Italic',
|
||||
'normal' => DOMPDF_FONT_DIR . 'DejaVuSerif',
|
||||
),
|
||||
'dejavu serif condensed' => array(
|
||||
'bold' => DOMPDF_FONT_DIR . 'DejaVuSerifCondensed-Bold',
|
||||
'bold_italic' => DOMPDF_FONT_DIR . 'DejaVuSerifCondensed-BoldItalic',
|
||||
'italic' => DOMPDF_FONT_DIR . 'DejaVuSerifCondensed-Italic',
|
||||
'normal' => DOMPDF_FONT_DIR . 'DejaVuSerifCondensed',
|
||||
),
|
||||
'glyphicons halflings' => array(
|
||||
'normal' => DOMPDF_FONT_DIR . '94f467820d15a73cd89ee35f2b66b463',
|
||||
),
|
||||
) ?>
|
||||
Reference in New Issue
Block a user