Re: Grapheme clusters and east asian width

2015-09-17 Thread Richard Wordingham
On Thu, 17 Sep 2015 19:30:41 +0300 Eli Zaretskii wrote: > > Date: Thu, 17 Sep 2015 17:25:34 +0100 > > From: Daniel Bünzli > > Cc: richard.wording...@ntlworld.com, unicode@unicode.org > > > > Le jeudi, 17 septembre 2015 à 17:24, Eli Zaretskii a écrit : > > > > Is there a formal definition of the

[CSSWG][css-inline] Updated WD of CSS Inline Layout

2015-09-17 Thread fantasai
The CSS WG has published an updated Working Draft of the CSS Inline Layout Module Level 3 http://www.w3.org/TR/css-inline-3/ This module covers inline vertical alignment and special typographic effects for initial letters, such as drop caps. Changes since the previous WD include: * Addit

Re: Grapheme clusters and east asian width

2015-09-17 Thread Eli Zaretskii
> Date: Thu, 17 Sep 2015 17:25:34 +0100 > From: Daniel Bünzli > Cc: richard.wording...@ntlworld.com, unicode@unicode.org > > Le jeudi, 17 septembre 2015 à 17:24, Eli Zaretskii a écrit : > > > Is there a formal definition of the algorithm used ? This [1] is not very > > > helpful. > > > > They

Re: Grapheme clusters and east asian width

2015-09-17 Thread Daniel Bünzli
Le jeudi, 17 septembre 2015 à 17:24, Eli Zaretskii a écrit : > > Is there a formal definition of the algorithm used ? This [1] is not very > > helpful. > > They just use a table of values, AFAIK. But is it standardized or everyone has its own table ? Daniel

Re: Grapheme clusters and east asian width

2015-09-17 Thread Eli Zaretskii
> Date: Thu, 17 Sep 2015 16:51:03 +0100 > From: Daniel Bünzli > Cc: Richard Wordingham , unicode@unicode.org > > > > Date: Thu, 17 Sep 2015 13:27:31 +0100 > > > From: Richard Wordingham > > (mailto:richard.wording...@ntlworld.com)> > > > > > > The best estimator is probably the POSIX function

Re: Grapheme clusters and east asian width

2015-09-17 Thread Daniel Bünzli
Le jeudi, 17 septembre 2015 à 15:47, Eli Zaretskii a écrit : > > Date: Thu, 17 Sep 2015 13:27:31 +0100 > > From: Richard Wordingham > (mailto:richard.wording...@ntlworld.com)> > > > > The best estimator is probably the POSIX function wcswidth(). > Only on glibc-based systems, I'm quite sure.

Re: Grapheme clusters and east asian width

2015-09-17 Thread Eli Zaretskii
> Date: Thu, 17 Sep 2015 13:27:31 +0100 > From: Richard Wordingham > > The best estimator is probably the POSIX function wcswidth(). Only on glibc-based systems, I'm quite sure. > The > terminal emulator might actually use that function to do its layout. > Some do. If you need accuracy, you may

Re: Grapheme clusters and east asian width

2015-09-17 Thread Richard Wordingham
On Thu, 17 Sep 2015 10:00:29 +0100 Daniel Bünzli wrote: > Le jeudi, 17 septembre 2015 à 02:25, Richard Wordingham a écrit : > > If you're trying to work out what a particular emulator will do, the > > starting point is its documentation. > Unfortunately *many* emulators. The best estimator

Re: Grapheme clusters and east asian width

2015-09-17 Thread Daniel Bünzli
Le jeudi, 17 septembre 2015 à 02:25, Richard Wordingham a écrit : > Are you actually trying to work out how a terminal emulator someone else > wrote will position > characters? Yes. Basically given a, let's say single line, UTF-8 string to output to a, let's say an ANSI tty, I'd like to compute