1 | array (
|
---|
2 | 'sans-serif' => array (
|
---|
3 | 'normal' => DOMPDF_FONT_DIR . 'Helvetica',
|
---|
4 | 'bold' => DOMPDF_FONT_DIR . 'Helvetica-Bold',
|
---|
5 | 'italic' => DOMPDF_FONT_DIR . 'Helvetica-BoldOblique',
|
---|
6 | 'bold_italic' => DOMPDF_FONT_DIR . 'Helvetica-BoldOblique'
|
---|
7 | ),
|
---|
8 | 'times' => array (
|
---|
9 | 'normal' => DOMPDF_FONT_DIR . 'Times-Roman',
|
---|
10 | 'bold' => DOMPDF_FONT_DIR . 'Times-Bold',
|
---|
11 | 'italic' => DOMPDF_FONT_DIR . 'Times-BoldItalic',
|
---|
12 | 'bold_italic' => DOMPDF_FONT_DIR . 'Times-BoldItalic'
|
---|
13 | ),
|
---|
14 | 'times-roman' => array (
|
---|
15 | 'normal' => DOMPDF_FONT_DIR . 'Times-Roman',
|
---|
16 | 'bold' => DOMPDF_FONT_DIR . 'Times-Bold',
|
---|
17 | 'italic' => DOMPDF_FONT_DIR . 'Times-BoldItalic',
|
---|
18 | 'bold_italic' => DOMPDF_FONT_DIR . 'Times-BoldItalic'
|
---|
19 | ),
|
---|
20 | 'courier' => array (
|
---|
21 | 'normal' => DOMPDF_FONT_DIR . 'Courier',
|
---|
22 | 'bold' => DOMPDF_FONT_DIR . 'Courier-Bold',
|
---|
23 | 'italic' => DOMPDF_FONT_DIR . 'Courier-BoldOblique',
|
---|
24 | 'bold_italic' => DOMPDF_FONT_DIR . 'Courier-BoldOblique'
|
---|
25 | ),
|
---|
26 | 'helvetica' => array (
|
---|
27 | 'normal' => DOMPDF_FONT_DIR . 'Helvetica',
|
---|
28 | 'bold' => DOMPDF_FONT_DIR . 'Helvetica-Bold',
|
---|
29 | 'italic' => DOMPDF_FONT_DIR . 'Helvetica-BoldOblique',
|
---|
30 | 'bold_italic' => DOMPDF_FONT_DIR . 'Helvetica-BoldOblique'
|
---|
31 | ),
|
---|
32 | 'zapfdingbats' => array (
|
---|
33 | 'normal' => DOMPDF_FONT_DIR . 'ZapfDingbats',
|
---|
34 | 'bold' => DOMPDF_FONT_DIR . 'ZapfDingbats',
|
---|
35 | 'italic' => DOMPDF_FONT_DIR . 'ZapfDingbats',
|
---|
36 | 'bold_italic' => DOMPDF_FONT_DIR . 'ZapfDingbats'
|
---|
37 | ),
|
---|
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 (
|
---|
45 | 'normal' => DOMPDF_FONT_DIR . 'Times-Roman',
|
---|
46 | 'bold' => DOMPDF_FONT_DIR . 'Times-Bold',
|
---|
47 | 'italic' => DOMPDF_FONT_DIR . 'Times-Italic',
|
---|
48 | 'bold_italic' => DOMPDF_FONT_DIR . 'Times-BoldItalic'
|
---|
49 | ),
|
---|
50 | 'monospace' => array (
|
---|
51 | 'normal' => DOMPDF_FONT_DIR . 'Courier',
|
---|
52 | 'bold' => DOMPDF_FONT_DIR . 'Courier-Bold',
|
---|
53 | 'italic' => DOMPDF_FONT_DIR . 'Courier-BoldOblique',
|
---|
54 | 'bold_italic' => DOMPDF_FONT_DIR . 'Courier-BoldOblique'
|
---|
55 | ),
|
---|
56 | 'fixed' => array (
|
---|
57 | 'normal' => DOMPDF_FONT_DIR . 'Courier',
|
---|
58 | 'bold' => DOMPDF_FONT_DIR . 'Courier-Bold',
|
---|
59 | 'italic' => DOMPDF_FONT_DIR . 'Courier-BoldOblique',
|
---|
60 | 'bold_italic' => DOMPDF_FONT_DIR . 'Courier-BoldOblique'
|
---|
61 | )
|
---|
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 |
|
---|