mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
bug 745780 - add reftests for Arabic presentation-forms shaping in harfbuzz. r=jdaggett a=test-only
This commit is contained in:
parent
62a2c4cbff
commit
adf465996e
BIN
layout/reftests/fonts/DroidSansArabic-noGSUB.ttf
Normal file
BIN
layout/reftests/fonts/DroidSansArabic-noGSUB.ttf
Normal file
Binary file not shown.
17
layout/reftests/text/arabic-fallback-1-ref.html
Normal file
17
layout/reftests/text/arabic-fallback-1-ref.html
Normal 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: ﺍﻟﻌﺮﺑﻲ</p>
|
||||
</body>
|
||||
</html>
|
17
layout/reftests/text/arabic-fallback-1.html
Normal file
17
layout/reftests/text/arabic-fallback-1.html
Normal 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: العربي</p>
|
||||
</body>
|
||||
</html>
|
20
layout/reftests/text/arabic-fallback-2-ref.html
Normal file
20
layout/reftests/text/arabic-fallback-2-ref.html
Normal 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:
|
||||
ﺃَﺑْﺠَﺪِﻳَّﺔ
|
||||
ﻋَﺮَﺑِﻴَّﺔ
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
20
layout/reftests/text/arabic-fallback-2.html
Normal file
20
layout/reftests/text/arabic-fallback-2.html
Normal 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:
|
||||
أَبْجَدِيَّة
|
||||
عَرَبِيَّة
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
17
layout/reftests/text/arabic-fallback-3-ref.html
Normal file
17
layout/reftests/text/arabic-fallback-3-ref.html
Normal 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: ﻻ ﻟﻼ</p>
|
||||
</body>
|
||||
</html>
|
17
layout/reftests/text/arabic-fallback-3.html
Normal file
17
layout/reftests/text/arabic-fallback-3.html
Normal 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: لا للا</p>
|
||||
</body>
|
||||
</html>
|
17
layout/reftests/text/arabic-fallback-4-notref.html
Normal file
17
layout/reftests/text/arabic-fallback-4-notref.html
Normal 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: ﻟَﺎ</p>
|
||||
</body>
|
||||
</html>
|
17
layout/reftests/text/arabic-fallback-4.html
Normal file
17
layout/reftests/text/arabic-fallback-4.html
Normal 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: لَا</p>
|
||||
</body>
|
||||
</html>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user