W3C home > Mailing lists > Public > www-international@w3.org > April to June 2014

Re: [css-text] I18N-ISSUE-313: Definition of grapheme clusters

From: Andrew Cunningham <lang.support@gmail.com>
Date: Thu, 26 Jun 2014 09:59:01 +1000
Message-ID: <CAGJ7U-U3mZV87Pyd=pK1huY8LkG=XpnzUiqcuq3tNAGh+rC29A@mail.gmail.com>
To: James Clark <jjc@jclark.com>
Cc: Richard Ishida <ishida@w3.org>, www International <www-international@w3.org>, "CSS WWW Style (www-style@w3.org)" <www-style@w3.org>
On 26 June 2014 03:04, James Clark <jjc@jclark.com> wrote:

> On Fri, May 23, 2014 at 1:09 AM, Richard Ishida <ishida@w3.org> wrote:
>> Another is a worry whether we can really effectively split the world into
>> semantically-perceived and visually-perceived characters - especially given
>> the 'etc' that appears in the definition where we list appropriate
>> operations for each. For example, are we sure that first-letter operations
>> require semantically- rather than visually-perceived characters in all
>> cases?  Where does cursor movement fit here? etc.
>> characters (eg. in the Thai case)?
> The fundamental split, in my view, is between characters and glyphs. There
> are operations that are best understood as working on clusters of
> characters and there are operations that are best understood as working on
> clusters of glyphs.
> I would argue that cursor movement and line-breaking are character-level
> operations, whereas first-letter operations and letter-spacing are
> glyph-level operations.  For example, in Thai the boundary following a
> first-letter or the boundary where letter-space is to be inserted sometimes
> does not correspond to a boundary between characters.

And for some languages the boundary for first-letter may not correspond to
first character or to first grapheme cluster.

next week I hope to free enough time to play with javascript and see if i
can put together a script to detect first syllable of an element for a
couple of languages where it would be a useful alternative

Andrew Cunningham
Project Manager, Research and Development
(Social and Digital Inclusion)
Public Libraries and Community Engagement
State Library of Victoria
328 Swanston Street
Melbourne VIC 3000

Ph: +61-3-8664-7430
Mobile: 0459 806 589
Email: acunningham@slv.vic.gov.au

Received on Wednesday, 25 June 2014 23:59:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:05 UTC