OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <style> | 3 <style> |
4 @font-face { | 4 @font-face { |
5 font-family: 'test'; | 5 font-family: 'test'; |
6 font-weight: 400; | 6 font-weight: 400; |
7 unicode-range: U+0041-005A; /* A-Z */ | 7 unicode-range: U+0020, U+0041-005A; /* space, A-Z */ |
8 src: local('Helvetica'), local('Arial'); | 8 src: local('Helvetica'), local('Arial'); |
9 } | 9 } |
10 @font-face { | 10 @font-face { |
11 font-family: 'test'; | 11 font-family: 'test'; |
12 font-weight: 700; | 12 font-weight: 700; |
13 unicode-range: U+0061-007A; /* a-z */ | 13 unicode-range: U+0061-007A; /* a-z */ |
14 src: local('Times'), local('Times New Roman'); | 14 src: local('Times'), local('Times New Roman'); |
15 } | 15 } |
16 span { | 16 span { |
17 font-family: 'test', 'Courier', 'Courier New'; | 17 font-family: 'test', 'Courier', 'Courier New'; |
18 font-size: 30px; | 18 font-size: 30px; |
19 } | 19 } |
20 </style> | 20 </style> |
21 </head> | 21 </head> |
22 <body> | 22 <body> |
23 <p> | 23 <p> |
24 You should see each font name in that font: | 24 You should see each font name in that font: |
25 </p> | 25 </p> |
26 <span>HELVETICA</span> | 26 <span>HELVETICA</span> |
27 <span>courier</span> | 27 <span>courier</span> |
28 <span><b>COURIER</b></span> | 28 <span><b>COURIER</b></span> |
29 <span><b>times</b></span> | 29 <span><b>times</b></span> |
30 </body> | 30 </body> |
31 </html> | 31 </html> |
OLD | NEW |