Re: display unicode string one character at a time, not at simple as it seems

2009-02-18 Thread Gerriet M. Denkmann
On 18 Feb 2009, at 14:18, mathew davis wrote: ideally I'd like to break the string in to: the smallest possible segments which do not need to horizontally overlap when displayed in order to make sense to a reader. so the composed character sequence: g̈ U+006

Re: display unicode string one character at a time, not at simple as it seems

2009-02-17 Thread mathew davis
Hi Micheal, thanks for writing I need to write text onto tiles which will be laid out horizontally. Ideally these tiles shouldn't be much wider than an uppercase W. The tiles cannot overlap. ideally I'd like to break the string in to: the smallest possible segments which do not n

Re: display unicode string one character at a time, not at simple as it seems

2009-02-17 Thread Michael Ash
On Tue, Feb 17, 2009 at 5:13 PM, mathew davis wrote: > Hello, > > I need to break a string down into individual characters. > > In English that's pretty easy. > > But in some languages what a user perceives as a single block is actually a > base character plus accents plus vowel markers plus tone

Re: display unicode string one character at a time, not at simple as it seems

2009-02-17 Thread mathew davis
Hi clark, turns out I had really misunderstood something about how some characters such as the german ß were stored. I thought it was much more complex that it really is. I thought the single character ß was composed of two grapheme clusters. Actually: rangeOfComposedCharacterSequen

Re: display unicode string one character at a time, not at simple as it seems

2009-02-17 Thread Clark Cox
On Tue, Feb 17, 2009 at 2:13 PM, mathew davis wrote: > Hello, > > I need to break a string down into individual characters. > > In English that's pretty easy. > > But in some languages what a user perceives as a single block is actually a > base character plus accents plus vowel markers plus tone

display unicode string one character at a time, not at simple as it seems

2009-02-17 Thread mathew davis
Hello, I need to break a string down into individual characters. In English that's pretty easy. But in some languages what a user perceives as a single block is actually a base character plus accents plus vowel markers plus tone markers plus... eg: เก is made of U+0E40 ( เ ) thai