Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / chromium-linux-fontconfig-renderstyle.html
blob91be0284bce2b73b5b9970fc98b9149652c705c2
1 <html>
2 <body>
3 <p>This test requires Chromium Linux <tt>test_shell</tt> in
4 <tt>--layout-test</tt> mode, as that forces some rendering settings used
5 in the following tests.</p>
7 <ol>
8 <li>
9 <p>The following text should render without anti-aliasing:</p>
10 <p style="font-family: NonAntiAliasedSans">Non anti-aliased sans.</p>
11 </li>
12 <li>
13 <p>The following text should be slightly-hinted Georgia. The dots
14 should be equally spaced, and letters in the word "government"
15 should be naturally spaced (without an ugly space before the "e").</p>
17 <p style="font-family:SlightHintedGeorgia">
18 government ................................
19 </p>
20 </li>
22 <li>
23 <p>The following text should be unhinted Verdana. The fontconfig
24 configuration for this is contradictory, setting both full-hinting
25 and no-hinting. The latter should win out.</p>
27 <p style="font-family:NonHintedSans">
28 Here is Tigger doing what tiggers do best &hellip; operating
29 hydraulic exoskeletons.
30 </p>
31 </li>
33 <li>
34 <p>The following text should show a difference caused by forcing
35 autohinting. Note: the effect is subtle.</p>
37 <p><span style="font-family:AutohintedSerif; font-size:0.6em;">autohinted</span> <i>vs</i> <span style="font-family:HintedSerif; font-size:0.6em;">not-autohinted</span></p>
38 </li>
40 <li>
41 <p>The following text should be the same. It verifies that, given the contradictory settings <tt>hintfull</tt> and <tt>autohint</tt>, the latter wins out:</p>
43 <p><span style="font-family:AutohintedSerif; font-size:0.6em;">autohinted</span> <i>vs</i> <span style="font-family:FullAndAutoHintedSerif; font-size:0.6em;">hopefully autohinted</span></p>
44 </li>
46 <li>
47 <p>The following text should show that fontconfig can be used to enable
48 or disable subpixel rendering.</p>
50 <p><span style="font-family:SubpixelEnabledArial">subpixel</span> <i>vs</i> <span style="font-family:SubpixelDisabledArial">no subpixel</span></p>
51 </li>
52 </ol>
53 </body>
54 </html>