bug 575695 - reftest - verify that legacy 'kern' table is supported. r=jdaggett

This commit is contained in:
Jonathan Kew 2010-07-28 14:36:00 +01:00
parent 20a2bc434a
commit 7e2508ad96
4 changed files with 45 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,22 @@
<html>
<head>
<style type="text/css">
@font-face {
font-family: mplus;
src: url(../fonts/mplus/mplus-1p-regular-no-OT.ttf);
/* a copy of M+ with OpenType tables removed, so only legacy 'kern' is present */
}
body {
text-rendering: optimizeLegibility;
font-size: 40px;
font-family: mplus;
}
</style>
</head>
<body>
<!-- the ZWNJ characters should prevent kerning at those positions;
if the testcase looks the same, then kerning failed altogether -->
AVA&zwnj;V&zwnj;A
</body>
</html>

View File

@ -0,0 +1,20 @@
<html>
<head>
<style type="text/css">
@font-face {
font-family: mplus;
src: url(../fonts/mplus/mplus-1p-regular-no-OT.ttf);
/* a copy of M+ with OpenType tables removed, so only legacy 'kern' is present */
}
body {
text-rendering: optimizeLegibility;
font-size: 40px;
font-family: mplus;
}
</style>
</head>
<body>
AVAVA
</body>
</html>

View File

@ -57,5 +57,8 @@ random HTTP(..) == 475092-pos.html 475092-sub.html # bug 482596
== 476378-soft-hyphen-fallback.html 476378-soft-hyphen-fallback-ref.html
# Test for bug 484954
== rgba-text.html rgba-text-ref.html
# Test for bug 575695, 'kern' table support
# Random on Windows because behavior depends on Uniscribe version(?)
random-if(MOZ_WIDGET_TOOLKIT=="windows") HTTP(..) != kerning-01.html kerning-01-notref.html
# Test for bug 577380, support for AAT layout (on OS X only)
random-if(MOZ_WIDGET_TOOLKIT!="cocoa") == 577380.html 577380-ref.html