5 if (window
.internals
) {
6 window
.internals
.settings
.setStandardFontFamily("Ahem", "Hans");
7 window
.internals
.settings
.setFantasyFontFamily("Ahem", "Hans");
12 <!-- This tests locale-sensitive font selection. Using overridePreference, the
13 fonts for Simplified Han are to Ahem font. So all divs should match. -->
14 <div style=
"font-size: 20px">
15 <div style=
"font-family: 'Ahem'">this is ahem font
</div>
16 <div style=
"-webkit-locale: 'zh_CN'">this is ahem font
</div>
17 <div style=
"-webkit-locale: 'zh_CN'; font-family: fantasy">this is ahem font
</div>