On Sat, May 31, 2003 at 07:05:19PM +0200, Marcus Lundblad wrote:
> I implemented a first basic version of combining characters.
> What it does is "compress" sequences of characters to the
> "canonical" pre-composed form.
> 
> Additionally a fix for "superimposing" needs to be added.
> Ie. combining characters that could not be composed into a pre-composed
> form should be drawn superimposed.
> 
> Olivier, could you assist me a bit on this?

Yes, but I know nothing on combining, bidi and joint ...

> If I extend my function that does composing to fill in an array mapping
> character position in the in-string to their visual position.
> 
> For example, let's say there is "o" + "some obscure composing char" + "a",
> where there is no pre-composed form for an "o" with "some obscure
> composing char", it would give an array: [0,0,1]
> That is the first 2 characters should get drawn in first "square", the
> last in the second square.
> 
> What could perhaps be tricky is to handle BIDI. The mapping array must be
> rearranged as characters are reorganised by the BIDI algorithm.
>

I do not understand the problem, sorry. But two remarks/questions:
What about merging FCombineChars, FBidi and FBidiJoin?
Which charset (in the sense of the FlocaleCharsetTable from FLocaleCharset.c)
needs Char Combining and which charset needs Joining (I know for
Bidi)?
 
> I hope my code is not crashing on anyone. Please test it.
> I have tested it, and it seems to work. But maybe I missed something
> critical.
>

Can you send some relevant strings (in UTF-8 or/and others encoding)
for adding test in purify.fvwm2rc?
 
> Also Nadim, could you test this with Arabic combining characters?
>

Marcus, you should always cc to Nadim.

Regards, Olivier
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to