W3C home > Mailing lists > Public > www-style@w3.org > March 2011

[css3-writing-modes] Character's intrinsic orientation

From: Koji Ishii <kojiishi@gluesoft.co.jp>
Date: Tue, 22 Mar 2011 08:28:41 -0400
To: "www-style@w3.org" <www-style@w3.org>
CC: "CJK discussion (public-i18n-cjk@w3.org)" <public-i18n-cjk@w3.org>
Message-ID: <A592E245B36A8949BDB0A302B375FB4E0AB3D54ED3@MAILR001.mail.lan>
Fantasai and I were discussing on the definition of "character's intrinsic orientation". It's described at the text-orientation property[1], after "Example V".

After several investigation, we figured that neither script orientation[2] alone nor Unicode East Asian Width[3] alone is good enough to determine the intrinsic orientation, so we need to modify the logic to use both of them. Current our idea is to revise the logic to the one as below.

IF ScriptOrientation=Translate || (EAW=F|W)
	Always upright
ELIF ScriptOrientation=Rotate # All chars are EAW=N
	Always sideways
ELIF ScriptOrientation=Horizontal # EAW=F|W are already excluded by first IF
	Sideways for ''vertical-right'', upright for ''upright''
ELIF # Script=Common|Inherited|Unknown

The "..." part indicates when both script and EAW are ambiguous. Our hope is to rely on font information in that case, and we'll be investigating the appropriate sentences to put in there.

Current our idea is to put sentences like this:

| If the font has information (like vertical alternates or vertical position)
| that indicates intrinsic orientation is upright, it should be honored.

We'll investigate if this is appropriate and get this reviewed by a few people around, but any opinions and/or feedback are greatly appreciated.

[1] http://dev.w3.org/csswg/css3-writing-modes/#text-orientation
[2] http://dev.w3.org/csswg/css3-writing-modes/#script-orientations
[3] http://unicode.org/reports/tr11/

Received on Tuesday, 22 March 2011 12:29:57 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:57 UTC