OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <style type="text/css"> |
| 3 .container { |
| 4 font-size: 200px; |
| 5 line-height: 1; |
| 6 } |
| 7 |
| 8 @font-face { |
| 9 /* LinLibertine_R's aspect value = 0.440918 on mac */ |
| 10 font-family : 'referenceFont'; |
| 11 src : url('../../third_party/Libertine/LinLibertine_R.woff') format("woff"); |
| 12 } |
| 13 |
| 14 @font-face { |
| 15 /* OpenSans-Regular's aspect = 0.544922 on mac */ |
| 16 /* OpenSans-Regular's aspect = 0.535156 on linux */ |
| 17 font-family : 'testFont'; |
| 18 src : url('../../resources/opensans/OpenSans-Regular.woff') format("woff"); |
| 19 } |
| 20 |
| 21 .test { |
| 22 font-family: testFont; |
| 23 font-size-adjust: 0.440; |
| 24 } |
| 25 |
| 26 .testNone { |
| 27 font-family: testFont; |
| 28 font-size-adjust: none; |
| 29 } |
| 30 |
| 31 .reference { |
| 32 font-family: referenceFont; |
| 33 } |
| 34 </style> |
| 35 |
| 36 <div class="container"> |
| 37 <span class="test">x</span><span class="reference">x</span> |
| 38 </div> |
| 39 <div class="container"> |
| 40 <span class="testNone">z</span><span class="reference">z</span> |
| 41 </div> |
OLD | NEW |