зеркало из https://github.com/mozilla/pjs.git
bug 575695 - reftest - verify that legacy 'kern' table is supported. r=jdaggett
This commit is contained in:
Родитель
f3de9449ab
Коммит
1827fc5cdf
Двоичный файл не отображается.
|
@ -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‌V‌A
|
||||
</body>
|
||||
</html>
|
|
@ -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>
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче