W3C home > Mailing lists > Public > www-style@w3.org > November 2002

will CSS3 support styles of underline-skipping (for char with tail) ?

From: Arthit Suriyawongkul <Arthit.Suriyawongkul@Sun.COM>
Date: Fri, 08 Nov 2002 14:00:34 +0700
Message-ID: <3DCB6112.DC453267@Sun.COM>
CC: www-style@w3.org, prabhat.hegde@Sun.COM, ian@hixie.ch, samphan@thai.com, thep@linux.thai.net, dbaron@fas.harvard.edu, art@geegen.com, arthit.suriyawongkul@Sun.COM

Dear all,

in many Complex Text Layout (CTL) languages (e.g. Thai,
South Indians) also few in Latin, there're characters
having part/tail that is below the level of underline.

Considering Latin text

  gjpqy

also others, like c with lower hook (cedilla) <-- U+00C7
underline will strike over their tails,
if the style of underline is double or very thick
it will be hard to determine some chars ..
e.g.  g vs q  and  Thai Character Sara U vs UU

For Thai chars, it goes worse,
some will be unseen if the underline strike over it.
e.g. U+0E3A  Thai Character Phinthu -- which is a small dot


----

example of Latin characters that has some part below the base line:
   U+0067  g
   U+006A  j
   U+0070  p
   U+0071  q
   U+0079  y
   U+00C7  Latin Capital Letter C with Cedilla
   U+00FD  Latin Small Letter Y with Acute
   U+00FE  Latin Small Letter Thorn
   U+0104  Latin Capital Letter A with Ogonek
   U+014B  Latin Small Letter Eng

list of below-level Thai character:
   U+0E38  Thai Character Sara U
   U+0E39  Thai Character Sara UU
   U+0E3A  Thai Character Phinthu

list of Thai character with "below-level part":
   U+0E0D  Thai Character Yo Ying
   U+0E10  Thai Character Tho Than

list of Thai character with "below-level tail":
   U+0E0E  Thai Character Do Chada
   U+0E0F  Thai Character To Patak
   U+0E24  Thai Character Ru
   U+0E26  Thai Character Lu
   U+0E45  Thai Character Lakkhangyao
   U+0E46  Thai Character Maiyamok

----

FYI,
Thai character has 4 levels of displaying.
from highest to lowest level:
  top
  above (same level as accent mark of western)
  base  (same level as general western character)
  below

----





Currently, CSS style doesn't allow us to do underline skipping.

Will w3c has any plan to add new attribute to  "underline"
to allow web developers choose their prefer style of
"underline-skipping-mode"  and  "underline-skipping-style" ?

----

"underline-skipping-mode"

possible options
1) not skip
2) skip only whitespace
3) skip only below-base-line part-of-character
4) skip whitespace and below-base-line part-of-character


examples:

1) not skip

   send your bugs to the responsible engineers
   ___________________________________________


2) skip only whitespace

   send your bugs to the responsible engineers
   ____ ____ ____ __ ___ ___________ _________


3) skip only below-base-line part-of-character

   send your bugs to the responsible engineers
   _____ ______ ____________ __________ ______


4) skip whitespace and below-base-line part-of-character

   send your bugs to the responsible engineers
   ____  ______ _ __ ___ ___ _______ __ ______


----

"underline-skipping-style"

1) skip-line
2) skip-whole-part
3) skip-whole-cell


please see attachment id 94217 in mozilla's bug id 156881
http://bugzilla.mozilla.org/attachment.cgi?id=94217&action=view
for detailed picture.

----

please see
http://bugzilla.mozilla.org/show_bug.cgi?id=156881
for more discussion.



regards,
Art
Received on Friday, 8 November 2002 02:01:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:17 GMT