Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <title>src local with full names</title>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7 <style type="text/css">
9 body {
10 margin: 50px;
11 font-size: 24pt;
12 }
14 /* use full names */
16 @font-face {
17 font-family: test-regular;
18 src: local(Helvetica Neue), local(Bitstream Vera Sans), local(Bitstream Vera Sans Roman), local(Free Sans), local(SwissA), local(DejaVu Sans), local(Arial);
19 }
21 /* use Helvetica on the Mac, since Futura has no bold face on 10.4, 10.5 */
22 @font-face {
23 font-family: test-bold;
24 src: local(Helvetica Neue Bold), local(Bitstream Vera Sans Bold), local(Free Sans Bold), local(SwissA Bold), local(DejaVu Sans Bold), local(Arial Bold);
25 }
27 @font-face {
28 font-family: test-italic;
29 src: local(Helvetica Neue Italic), local(Bitstream Vera Sans Oblique), local(Free Sans Oblique), local(SwissA Italic), local(DejaVu Sans Oblique), local(Arial Italic);
30 }
32 .regular { font-family: test-regular, serif; }
33 .bold { font-family: test-bold, serif; }
34 .italic { font-family: test-italic, serif; }
36 </style>
38 <script type="text/javascript">
40 </script>
42 </head>
43 <body>
45 <p class="regular">This should be a sans-serif face</p>
47 <p class="bold">This should be a bold sans-serif face</p>
49 <p class="italic">This should be an italic sans-serif face</p>
51 </body>
52 </html>