webdesigners) testscase for Arabic joining and poor ATSUI font-fallback decisions
This test requires the Times New Roman
font from Microsoft Office for Mac 2004 be installed and active on your Mac, as well as the STSong
font Apple ships with Mac OS X. Those fonts are set on the p elements for their respective sections. No language is set on the html or body elements.
Here is some English text وأيضاً نصّ عربيّ followed by more English text. No language is set on this paragraph.
Here is some English text وأيضاً نصّ عربيّ followed by more English text. Language on this paragraph is en
.
Here is some English text وأيضاً نصّ عربيّ followed by more English text. Language on this paragraph is ar
.
Here is some English text وأيضاً نصّ عربيّ followed by more English text. Language on this paragraph is en
with the Arabic enclosed in a span declaring ar
.
英国120所大学的校长罕见地联名谴责政府废止签证被拒学生上诉权计划。 Here is some English text وأيضاً نصّ عربيّ followed by more English text. No language is set on this paragraph.
英国120所大学的校长罕见地联名谴责政府废止签证被拒学生上诉权计划。 Here is some English text وأيضاً نصّ عربيّ followed by more English text. Language on this paragraph is zh
.
英国120所大学的校长罕见地联名谴责政府废止签证被拒学生上诉权计划。 Here is some English text وأيضاً نصّ عربيّ followed by more English text. Language on this paragraph is en
.
英国120所大学的校长罕见地联名谴责政府废止签证被拒学生上诉权计划。 Here is some English text وأيضاً نصّ عربيّ followed by more English text. Language on this paragraph is ar
.
英国120所大学的校长罕见地联名谴责政府废止签证被拒学生上诉权计划。 Here is some English text وأيضاً نصّ عربيّ followed by more English text. Language on this paragraph is zh
with the Arabic enclosed in a span declaring ar
and the English enclosed in a span declaring en
.
unstlyed
Just for kicks, the same paragraph without any font-family specified.
英国120所大学的校长罕见地联名谴责政府废止签证被拒学生上诉权计划。 Here is some English text وأيضاً نصّ عربيّ followed by more English text. No language or font is set on this paragraph.
Chinese text brazenly stolen from the BBC.
For the explanation or rant
that accompanies this testcase, see http://groups.yahoo.com/group/icab/message/11782.
John Gruber has also posted an article and testcase on Daring Fireball futher illustrating poor font-fallback choices in ATSUI. As always, Gruber's prose is cogent and level-headed (whereas my rant is precisely the opposite).
Last updated: 2005-08-11, 07:14 GMT -0400