bug 745780 - add reftests for Arabic presentation-forms shaping in harfbuzz. r=jdaggett a=test-only

This commit is contained in:
Jonathan Kew 2012-04-21 22:25:25 +01:00
parent 62a2c4cbff
commit adf465996e
10 changed files with 147 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,17 @@
<html>
<head>
<style type="text/css">
@font-face {
font-family: test;
src: url(../fonts/DroidSansArabic-noGSUB.ttf);
}
body {
font-family: test;
font-size: 36px;
}
</style>
</head>
<body>
<p>Arabic: &#xFE8D;&#xFEDF;&#xFECC;&#xFEAE;&#xFE91;&#xFEF2;</p>
</body>
</html>

View File

@ -0,0 +1,17 @@
<html>
<head>
<style type="text/css">
@font-face {
font-family: test;
src: url(../fonts/DroidSansArabic-noGSUB.ttf);
}
body {
font-family: test;
font-size: 36px;
}
</style>
</head>
<body>
<p>Arabic: &#x627;&#x644;&#x639;&#x631;&#x628;&#x64A;</p>
</body>
</html>

View File

@ -0,0 +1,20 @@
<html>
<head>
<style type="text/css">
@font-face {
font-family: test;
src: url(../fonts/DroidSansArabic-noGSUB.ttf);
}
body {
font-family: test;
font-size: 36px;
}
</style>
</head>
<body>
<p>With vowels:
&#xFE83;&#x064E;&#xFE91;&#x0652;&#xFEA0;&#x064E;&#xFEAA;&#x0650;&#xFEF3;&#x064E;&#x0651;&#xFE94;
&#xFECB;&#x064E;&#xFEAE;&#x064E;&#xFE91;&#x0650;&#xFEF4;&#x064E;&#x0651;&#xFE94;
</p>
</body>
</html>

View File

@ -0,0 +1,20 @@
<html>
<head>
<style type="text/css">
@font-face {
font-family: test;
src: url(../fonts/DroidSansArabic-noGSUB.ttf);
}
body {
font-family: test;
font-size: 36px;
}
</style>
</head>
<body>
<p>With vowels:
&#x0623;&#x064E;&#x0628;&#x0652;&#x062C;&#x064E;&#x062F;&#x0650;&#x064A;&#x064E;&#x0651;&#x0629;
&#x0639;&#x064E;&#x0631;&#x064E;&#x0628;&#x0650;&#x064A;&#x064E;&#x0651;&#x0629;
</p>
</body>
</html>

View File

@ -0,0 +1,17 @@
<html>
<head>
<style type="text/css">
@font-face {
font-family: test;
src: url(../fonts/DroidSansArabic-noGSUB.ttf);
}
body {
font-family: test;
font-size: 36px;
}
</style>
</head>
<body>
<p>Ligatures: &#xFEFB; &#xFEDF;&#xFEFC;</p>
</body>
</html>

View File

@ -0,0 +1,17 @@
<html>
<head>
<style type="text/css">
@font-face {
font-family: test;
src: url(../fonts/DroidSansArabic-noGSUB.ttf);
}
body {
font-family: test;
font-size: 36px;
}
</style>
</head>
<body>
<p>Ligatures: &#x0644;&#x0627; &#x0644;&#x0644;&#x0627;</p>
</body>
</html>

View File

@ -0,0 +1,17 @@
<html>
<head>
<style type="text/css">
@font-face {
font-family: test;
src: url(../fonts/DroidSansArabic-noGSUB.ttf);
}
body {
font-family: test;
font-size: 36px;
}
</style>
</head>
<body>
<p>Ligature with vowel: &#xFEDF;&#x064E;&#xFE8E;</p>
</body>
</html>

View File

@ -0,0 +1,17 @@
<html>
<head>
<style type="text/css">
@font-face {
font-family: test;
src: url(../fonts/DroidSansArabic-noGSUB.ttf);
}
body {
font-family: test;
font-size: 36px;
}
</style>
</head>
<body>
<p>Ligature with vowel: &#x0644;&#x064E;&#x0627;</p>
</body>
</html>

View File

@ -135,6 +135,11 @@ random-if(!cocoaWidget) == 577380.html 577380-ref.html
HTTP(..) == arabic-shaping-1.html arabic-shaping-1-ref.html
# check ligature in Arial Bold on Windows, for bug 644184; may fail on other platforms depending on fonts
random-if(!winWidget) == arial-bold-lam-alef-1.html arial-bold-lam-alef-1-ref.html
# Fallback (presentation-forms) shaping with a font that lacks GSUB/GPOS
HTTP(..) == arabic-fallback-1.html arabic-fallback-1-ref.html
HTTP(..) == arabic-fallback-2.html arabic-fallback-2-ref.html
HTTP(..) == arabic-fallback-3.html arabic-fallback-3-ref.html
fails HTTP(..) != arabic-fallback-4.html arabic-fallback-4-notref.html
== 726392-1.html 726392-1-ref.html
== 726392-2.html 726392-2-ref.html