mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 575695 - reftest - verify that legacy 'kern' table is supported. r=jdaggett
This commit is contained in:
parent
20a2bc434a
commit
7e2508ad96
BIN
layout/reftests/fonts/mplus/mplus-1p-regular-no-OT.ttf
Normal file
BIN
layout/reftests/fonts/mplus/mplus-1p-regular-no-OT.ttf
Normal file
Binary file not shown.
22
layout/reftests/text/kerning-01-notref.html
Normal file
22
layout/reftests/text/kerning-01-notref.html
Normal 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‌V‌A
|
||||
</body>
|
||||
</html>
|
20
layout/reftests/text/kerning-01.html
Normal file
20
layout/reftests/text/kerning-01.html
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user