Changeset 1654 for sandbox/filemanager/tp/dompdf/lib/fonts
- Timestamp:
- 11/17/09 09:02:41 (15 years ago)
- Location:
- sandbox/filemanager/tp/dompdf/lib/fonts
- Files:
-
- 16 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/filemanager/tp/dompdf/lib/fonts/dompdf_font_family_cache.dist
r1575 r1654 1 1 array ( 2 'sans-serif' => 3 array ( 2 'sans-serif' => array ( 4 3 'normal' => DOMPDF_FONT_DIR . 'Helvetica', 5 4 'bold' => DOMPDF_FONT_DIR . 'Helvetica-Bold', 6 5 'italic' => DOMPDF_FONT_DIR . 'Helvetica-BoldOblique', 7 'bold_italic' => DOMPDF_FONT_DIR . 'Helvetica-BoldOblique' ,6 'bold_italic' => DOMPDF_FONT_DIR . 'Helvetica-BoldOblique' 8 7 ), 9 'times' => 10 array ( 8 'times' => array ( 11 9 'normal' => DOMPDF_FONT_DIR . 'Times-Roman', 12 10 'bold' => DOMPDF_FONT_DIR . 'Times-Bold', 13 11 'italic' => DOMPDF_FONT_DIR . 'Times-BoldItalic', 14 'bold_italic' => DOMPDF_FONT_DIR . 'Times-BoldItalic' ,12 'bold_italic' => DOMPDF_FONT_DIR . 'Times-BoldItalic' 15 13 ), 16 'times-roman' => 17 array ( 14 'times-roman' => array ( 18 15 'normal' => DOMPDF_FONT_DIR . 'Times-Roman', 19 16 'bold' => DOMPDF_FONT_DIR . 'Times-Bold', 20 17 'italic' => DOMPDF_FONT_DIR . 'Times-BoldItalic', 21 'bold_italic' => DOMPDF_FONT_DIR . 'Times-BoldItalic' ,18 'bold_italic' => DOMPDF_FONT_DIR . 'Times-BoldItalic' 22 19 ), 23 'courier' => 24 array ( 20 'courier' => array ( 25 21 'normal' => DOMPDF_FONT_DIR . 'Courier', 26 22 'bold' => DOMPDF_FONT_DIR . 'Courier-Bold', 27 23 'italic' => DOMPDF_FONT_DIR . 'Courier-BoldOblique', 28 'bold_italic' => DOMPDF_FONT_DIR . 'Courier-BoldOblique' ,24 'bold_italic' => DOMPDF_FONT_DIR . 'Courier-BoldOblique' 29 25 ), 30 'helvetica' => 31 array ( 26 'helvetica' => array ( 32 27 'normal' => DOMPDF_FONT_DIR . 'Helvetica', 33 28 'bold' => DOMPDF_FONT_DIR . 'Helvetica-Bold', 34 29 'italic' => DOMPDF_FONT_DIR . 'Helvetica-BoldOblique', 35 'bold_italic' => DOMPDF_FONT_DIR . 'Helvetica-BoldOblique' ,30 'bold_italic' => DOMPDF_FONT_DIR . 'Helvetica-BoldOblique' 36 31 ), 37 'zapfdingbats' => 38 array ( 32 'zapfdingbats' => array ( 39 33 'normal' => DOMPDF_FONT_DIR . 'ZapfDingbats', 40 34 'bold' => DOMPDF_FONT_DIR . 'ZapfDingbats', 41 35 'italic' => DOMPDF_FONT_DIR . 'ZapfDingbats', 42 'bold_italic' => DOMPDF_FONT_DIR . 'ZapfDingbats' ,36 'bold_italic' => DOMPDF_FONT_DIR . 'ZapfDingbats' 43 37 ), 44 'serif' => 45 array ( 38 'symbol' => array ( 39 'normal' => DOMPDF_FONT_DIR . 'Symbol', 40 'bold' => DOMPDF_FONT_DIR . 'Symbol', 41 'italic' => DOMPDF_FONT_DIR . 'Symbol', 42 'bold_italic' => DOMPDF_FONT_DIR . 'Symbol' 43 ), 44 'serif' => array ( 46 45 'normal' => DOMPDF_FONT_DIR . 'Times-Roman', 47 46 'bold' => DOMPDF_FONT_DIR . 'Times-Bold', 48 47 'italic' => DOMPDF_FONT_DIR . 'Times-Italic', 49 'bold_italic' => DOMPDF_FONT_DIR . 'Times-BoldItalic' ,48 'bold_italic' => DOMPDF_FONT_DIR . 'Times-BoldItalic' 50 49 ), 51 'monospace' => 52 array ( 50 'monospace' => array ( 53 51 'normal' => DOMPDF_FONT_DIR . 'Courier', 54 52 'bold' => DOMPDF_FONT_DIR . 'Courier-Bold', 55 53 'italic' => DOMPDF_FONT_DIR . 'Courier-BoldOblique', 56 'bold_italic' => DOMPDF_FONT_DIR . 'Courier-BoldOblique' ,54 'bold_italic' => DOMPDF_FONT_DIR . 'Courier-BoldOblique' 57 55 ), 58 'fixed' => 59 array ( 56 'fixed' => array ( 60 57 'normal' => DOMPDF_FONT_DIR . 'Courier', 61 58 'bold' => DOMPDF_FONT_DIR . 'Courier-Bold', 62 59 'italic' => DOMPDF_FONT_DIR . 'Courier-BoldOblique', 63 'bold_italic' => DOMPDF_FONT_DIR . 'Courier-BoldOblique', 64 ), 65 // 'arial' => 66 // array ( 67 // 'normal' => DOMPDF_FONT_DIR . 'Arial', 68 // 'bold' => DOMPDF_FONT_DIR . 'Arial_Bold', 69 // 'italic' => DOMPDF_FONT_DIR . 'Arial_Italic', 70 // 'bold_italic' => DOMPDF_FONT_DIR . 'Arial_Bold_Italic', 71 // ), 72 // 'comic sans' => 73 // array ( 74 // 'normal' => DOMPDF_FONT_DIR . 'Comic_Sans_MS.ttf', 75 // 'bold' => DOMPDF_FONT_DIR . 'Comic_Sans_MS_Bold.ttf', 76 // 'italic' => DOMPDF_FONT_DIR . 'Comic_Sans_MS.ttf', 77 // 'bold_italic' => DOMPDF_FONT_DIR . 'Comic_Sans_MS.ttf', 78 // ), 79 // 'georgia' => 80 // array ( 81 // 'normal' => DOMPDF_FONT_DIR . 'Georgia', 82 // 'bold' => DOMPDF_FONT_DIR . 'Georgia_Bold', 83 // 'italic' => DOMPDF_FONT_DIR . 'Georgia_Italic', 84 // 'bold_italic' => DOMPDF_FONT_DIR . 'Georgia_Bold_Italic', 85 // ), 86 // 'lucida console' => 87 // array ( 88 // 'normal' => DOMPDF_FONT_DIR . 'lucon', 89 // 'bold' => DOMPDF_FONT_DIR . 'lucon', 90 // 'italic' => DOMPDF_FONT_DIR . 'lucon', 91 // 'bold_italic' => DOMPDF_FONT_DIR . 'lucon', 92 // ), 93 // 'times new roman' => 94 // array ( 95 // 'normal' => DOMPDF_FONT_DIR . 'Times_New_Roman', 96 // 'bold' => DOMPDF_FONT_DIR . 'Times_New_Roman_Bold', 97 // 'italic' => DOMPDF_FONT_DIR . 'Times_New_Roman_Italic', 98 // 'bold_italic' => DOMPDF_FONT_DIR . 'Times_New_Roman_Bold_Italic', 99 // ), 100 // 'trebuchet' => 101 // array ( 102 // 'normal' => DOMPDF_FONT_DIR . 'Trebuchet_MS', 103 // 'bold' => DOMPDF_FONT_DIR . 'Trebuchet_MS_Bold', 104 // 'italic' => DOMPDF_FONT_DIR . 'Trebuchet_MS_Italic', 105 // 'bold_italic' => DOMPDF_FONT_DIR . 'Trebuchet_MS_Bold_Italic', 106 // ), 107 // 'trebuchet ms' => 108 // array ( 109 // 'normal' => DOMPDF_FONT_DIR . 'Trebuchet_MS', 110 // 'bold' => DOMPDF_FONT_DIR . 'Trebuchet_MS_Bold', 111 // 'italic' => DOMPDF_FONT_DIR . 'Trebuchet_MS_Italic', 112 // 'bold_italic' => DOMPDF_FONT_DIR . 'Trebuchet_MS_Bold_Italic', 113 // ), 114 // 'silkscreen' => 115 // array ( 116 // 'normal' => DOMPDF_FONT_DIR . 'slkscr', 117 // 'bold' => DOMPDF_FONT_DIR . 'slkscrb', 118 // 'italic' => DOMPDF_FONT_DIR . 'slkscr', 119 // 'bold_italic' => DOMPDF_FONT_DIR . 'slkscr', 120 // ), 121 // 'silkscreen expanded' => 122 // array ( 123 // 'normal' => DOMPDF_FONT_DIR . 'slkscre', 124 // 'bold' => DOMPDF_FONT_DIR . 'slkscreb', 125 // 'italic' => DOMPDF_FONT_DIR . 'slkscre', 126 // 'bold_italic' => DOMPDF_FONT_DIR . 'slkscre', 127 // ), 128 // 'verdana' => 129 // array ( 130 // 'normal' => DOMPDF_FONT_DIR . 'Verdana', 131 // 'bold' => DOMPDF_FONT_DIR . 'Verdana_Bold', 132 // 'italic' => DOMPDF_FONT_DIR . 'Verdana_Italic', 133 // 'bold_italic' => DOMPDF_FONT_DIR . 'Verdana_Bold_Italic', 134 // ), 60 'bold_italic' => DOMPDF_FONT_DIR . 'Courier-BoldOblique' 61 ) 135 62 ) 63 64 /* The proper way for web browser environment independent font handling in html/css is, 65 * to defining a font search path ending in serif, sans-serif, or monospace, e.g.: 66 * <style>body {font-family: Verdana,Arial,Helvetica,sans-serif;}</style> 67 * 68 * For more satisfying results on html files without proper font search path, 69 * popular fonts which are candidates for further font aliases similar to 70 * 'sans-serif' and 'helvetica' above might be: 71 * 72 * See 73 * http://www.codestyle.org/css/font-family/index.shtml 74 * http://mondaybynoon.com/2007/04/02/linux-font-equivalents-to-popular-web-typefaces/ 75 * C:\Windows\Fonts 76 * 77 * Times: 78 * serif, times, times-roman, times, times new roman, georgia, garamond, ms reference serif, 79 * palatino, palatino linotype, dejavu serif, freeserif, liberation serif, luxi serif, 80 * century schoolbook, new century schoolbook 81 * 82 * Helvetica: 83 * sans-serif, helvetica, helvetica, microsoft sans serif, verdana, arial, tahoma, 84 * trebuchet ms, lucida sans, ms reference sans serif, lucida grande, freesans, 85 * liberation sans, dejavu sans, luxi sans, lucida 86 * 87 * Courier: 88 * monospace, fixed, courier, courier new, lucida console, lucida sans typewriter, freeMono, 89 * fixed, terminal, dejavu sans mono, liberation mono, luxi mono 90 */ 91
Note: See TracChangeset
for help on using the changeset viewer.