OLD | NEW |
1 <!DOCTYPE> | 1 <!DOCTYPE> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
5 <link rel="stylesheet" type="text/css" href="resources/text-scaling.css"
> | 5 <link rel="stylesheet" type="text/css" href="resources/text-scaling.css"
> |
6 <style> | 6 <style> |
7 @font-face { | 7 @font-face { |
8 font-family: 'Open Sans'; | 8 font-family: 'Open Sans'; |
9 font-style: normal; | 9 font-style: normal; |
10 font-weight: 400; | 10 font-weight: 400; |
11 src: url('../../resources/opensans/OpenSans-Regular.woff') forma
t('woff'); | 11 src: url('../../resources/opensans/OpenSans-Regular.woff') forma
t('woff'); |
12 } | 12 } |
13 body { | 13 body { |
14 font-family: 'Open Sans'; | 14 font-family: 'Open Sans'; |
15 } | 15 } |
16 </style> | 16 </style> |
17 </head> | 17 </head> |
18 <body> | 18 <body> |
19 <section> | 19 <section> |
20 <h1>Webfont Synthetic Bold</h1> | 20 <h1>Webfont Synthetic Bold</h1> |
21 <p> | 21 <p> |
22 The <b>bold part of this text</b> as well as the header above sh
ould | 22 The <b>bold part of this text</b> as well as the header above sh
ould |
23 not be rendered nice and crisp without being overly blurry. | 23 not be rendered nice and crisp without being overly blurry. |
24 </p> | 24 </p> |
25 </section> | 25 </section> |
26 <script> | |
27 document.body.offsetLeft; | |
28 </script> | |
29 </body> | 26 </body> |
30 </html> | 27 </html> |
OLD | NEW |