OLD | NEW |
| (Empty) |
1 <html> | |
2 <!-- Use a fake font family for all of the text that we draw. | |
3 The setTextSubpixelPositioning() call changes a global text style | |
4 setting. It gets reset after we're dumped, but if we run first, our | |
5 style would be cached and would affect other tests, and if we run after | |
6 another test, we'd use its cached style and subpixel positioning won't be | |
7 enabled. --> | |
8 <body style="font-family:SubpixelPositioning"> | |
9 <script> | |
10 if (window.testRunner) { | |
11 testRunner.setTextSubpixelPositioning(true); | |
12 } | |
13 </script> | |
14 | |
15 <p>This test requires a Linux build of DumpRenderTree, as it needs to turn | |
16 on subpixel positioning.</p> | |
17 | |
18 <p>This text should be rendered using subpixel positioning. Glyphs should | |
19 be placed at non-integral positions, and in the following string of repeated | |
20 "l" characters, the glyphs should not all be rendered | |
21 identically: llllllllllllllllllllll</p> | |
22 </body> | |
23 </html> | |
OLD | NEW |