mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 765906 - reftests for use of synthetic bold with system fallback fonts. r=jdaggett
This commit is contained in:
parent
351cecf2b1
commit
863730b251
@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for bold when system fallback is used</title>
|
||||
</head>
|
||||
<body>
|
||||
<!--
|
||||
-- On OS X and Win7, the Plantagenet Cherokee font is only available in Regular weight.
|
||||
--
|
||||
-- Cherokee text including <b> elements taken from
|
||||
-- http://chr.wikipedia.org/wiki/%E1%8F%A9%E1%8E%A6%E1%8F%A7%E1%8E%A7%E1%8F%85%E1%8F%8D%E1%8F%95%E1%8E%BE_%E1%8E%A4%E1%8F%82%E1%8E%BE%E1%8F%97%E1%8F%85%E1%8F%97
|
||||
--
|
||||
-->
|
||||
<p>ᏩᎦᏧᎧᏅᏍᏕᎾ ᎤᏂᎾᏗᏅᏗ ᎨᏒᎢ ᎠᏂᏙᎾᎥ ᎠᎴᏫᏍᏙᏗ ᎢᏳᏩᎪᏗ ᎯᎳᎪ ᎢᏳ ᏚᏂᎬᏩᎶᏔᏅ ᎠᎴ ᎠᎵᏌᎳᏗᏍᎬ
|
||||
ᎭᏫᎾᏗᏢ ᎠᏕᎸ ᏄᎾᏍᏛ ᎤᏂᎾᏗᏅᏗ ᎦᏣᏄᎳᎯᎨ ᎬᎾᏬᏍᎬ ᎤᎾᏤᎵ ᎧᏃᎮᏍᎩ ᏄᎵᏍᏔᏅ ᎢᎦᏘᎭ ᎢᎬᏁᎸ, ᎭᏫᎾᏗᏢ ᏧᏓᎴᎾᎢ
|
||||
ᎠᎵᏐᏆᎸᏗ ᎤᏂᎾᏗᏅᏗ ᎦᏙ ᎤᏍᏗ ᎨᏒᎢ ᎠᏂᏙᎾᎥ ᎠᎴᏫᏍᏙᏗ ᎢᏳᏩᎪᏗ ᎯᎳᎪ ᎢᏳ ᏚᏂᎬᏩᎶᏔᏅ ᎠᎴ ᎦᎶᏍᎬ.</p>
|
||||
</body>
|
||||
</html>
|
19
layout/reftests/font-matching/bold-system-fallback-1.html
Normal file
19
layout/reftests/font-matching/bold-system-fallback-1.html
Normal file
@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for bold when system fallback is used</title>
|
||||
</head>
|
||||
<body>
|
||||
<!--
|
||||
-- On OS X and Win7, the Plantagenet Cherokee font is only available in Regular weight.
|
||||
--
|
||||
-- Cherokee text including <b> elements taken from
|
||||
-- http://chr.wikipedia.org/wiki/%E1%8F%A9%E1%8E%A6%E1%8F%A7%E1%8E%A7%E1%8F%85%E1%8F%8D%E1%8F%95%E1%8E%BE_%E1%8E%A4%E1%8F%82%E1%8E%BE%E1%8F%97%E1%8F%85%E1%8F%97
|
||||
--
|
||||
-->
|
||||
<p><b>ᏩᎦᏧᎧᏅᏍᏕᎾ ᎤᏂᎾᏗᏅᏗ</b> ᎨᏒᎢ ᎠᏂᏙᎾᎥ ᎠᎴᏫᏍᏙᏗ ᎢᏳᏩᎪᏗ ᎯᎳᎪ ᎢᏳ ᏚᏂᎬᏩᎶᏔᏅ ᎠᎴ ᎠᎵᏌᎳᏗᏍᎬ
|
||||
ᎭᏫᎾᏗᏢ ᎠᏕᎸ ᏄᎾᏍᏛ ᎤᏂᎾᏗᏅᏗ ᎦᏣᏄᎳᎯᎨ ᎬᎾᏬᏍᎬ ᎤᎾᏤᎵ ᎧᏃᎮᏍᎩ ᏄᎵᏍᏔᏅ ᎢᎦᏘᎭ ᎢᎬᏁᎸ, ᎭᏫᎾᏗᏢ ᏧᏓᎴᎾᎢ
|
||||
<b>ᎠᎵᏐᏆᎸᏗ ᎤᏂᎾᏗᏅᏗ</b> ᎦᏙ ᎤᏍᏗ ᎨᏒᎢ ᎠᏂᏙᎾᎥ ᎠᎴᏫᏍᏙᏗ ᎢᏳᏩᎪᏗ ᎯᎳᎪ ᎢᏳ ᏚᏂᎬᏩᎶᏔᏅ ᎠᎴ ᎦᎶᏍᎬ.</p>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for bold when system fallback is used</title>
|
||||
</head>
|
||||
<body>
|
||||
<!--
|
||||
-- Chess symbols will use Droid Sans Fallback on Android,
|
||||
-- which only has a single weight.
|
||||
--
|
||||
-- On some platforms there may be "regular" glyphs in the Bold face
|
||||
-- of the fallback font used (e.g. Menlo on OS X), so this will
|
||||
-- not reliably pass there.
|
||||
-->
|
||||
<p>♔♕♖♗♘♙</p>
|
||||
<p>♔♕♖♗♘♙</p>
|
||||
</body>
|
||||
</html>
|
19
layout/reftests/font-matching/bold-system-fallback-2.html
Normal file
19
layout/reftests/font-matching/bold-system-fallback-2.html
Normal file
@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for bold when system fallback is used</title>
|
||||
</head>
|
||||
<body>
|
||||
<!--
|
||||
-- Chess symbols will use Droid Sans Fallback on Android,
|
||||
-- which only has a single weight.
|
||||
--
|
||||
-- On some platforms there may be "regular" glyphs in the Bold face
|
||||
-- of the fallback font used (e.g. Menlo on OS X), so this will
|
||||
-- not reliably pass there.
|
||||
-->
|
||||
<p>♔♕♖♗♘♙</p>
|
||||
<p><b>♔♕♖♗♘♙</b></p>
|
||||
</body>
|
||||
</html>
|
@ -75,3 +75,9 @@ HTTP(..) == font-stretch-1.html font-stretch-1-ref.html
|
||||
!= synthetic-style-1.html synthetic-style-1-notref.html
|
||||
!= synthetic-style-2.html synthetic-style-2-notref.html
|
||||
|
||||
# Bug 765906 - synthetic bold should be used if necessary together with system fallback.
|
||||
# **NOTE** we skip these on Linux because of bug 769659.
|
||||
# test 1 uses Cherokee; expected to pass on OS X and Win7
|
||||
random-if(!(cocoaWidget||/^Windows\x20NT\x206\.1/.test(http.oscpu))) skip-if(gtk2Widget) != bold-system-fallback-1.html bold-system-fallback-1-notref.html
|
||||
# test 2 uses Chess symbols; expected to pass on Android
|
||||
random-if(!Android) skip-if(gtk2Widget) != bold-system-fallback-2.html bold-system-fallback-2-notref.html
|
||||
|
Loading…
Reference in New Issue
Block a user