Re: Shaping/Joining within fvwm

2002-12-19 Thread Mikhael Goikhman
On 18 Dec 2002 18:57:32 -0800, Nadim Shaikli wrote: With regard to your 'naskhi' font - if it contains the required Form-B glyphs (U+FE70 - U+FEFF), then the following ought to work, Style Arabic Font *-naskhi-medium-*-iso8859-6/iso10646-1 If it is iso8859-6 font (not

Re: Shaping/Joining within fvwm

2002-12-19 Thread Nadim Shaikli
--- Mikhael Goikhman wrote: On 18 Dec 2002 18:57:32 -0800, Nadim Shaikli wrote: iso8859-6 is a subset of iso10646-1 -- again, iso8859-6 alone is simply not usable; its visually incorrect without shaping and one is not able to shape sans Form-B glyphs (there are a plethora of posts

Re: Shaping/Joining within fvwm

2002-12-18 Thread Nadim Shaikli
--- Mikhael Goikhman migo homemail com wrote: On 12 Dec 2002 09:53:48 -0800, Nadim Shaikli wrote: Mikhael/Olivier, I had sent an email with regards to the attached patch to FBidiJoin.c to this list (as well as in private) so as to include the the required changes/fixes to the

Re: Shaping/Joining within fvwm

2002-12-18 Thread Mikhael Goikhman
On 18 Dec 2002 15:11:44 -0800, Nadim Shaikli wrote: --- Mikhael Goikhman migo homemail com wrote: I tested the results and seems to work ok with unicode and iso8859-8. But I can't see iso8859-6 in titles now. I have a lot of iso8859-6 fonts and I was able to see it in the past. I run:

Re: Shaping/Joining within fvwm

2002-12-18 Thread Nadim Shaikli
--- Mikhael Goikhman migo homemail com wrote: On 18 Dec 2002 15:11:44 -0800, Nadim Shaikli wrote: Keep in mind that iso8859-6 doesn't spell out proper Arabic visual support since it doesn't include all the shaped/joined glyphs and as such you should always revert to an 10646-1 font

Re: Shaping/Joining within fvwm

2002-12-17 Thread Mikhael Goikhman
On 12 Dec 2002 09:53:48 -0800, Nadim Shaikli wrote: Mikhael/Olivier, I had sent an email with regards to the attached patch to FBidiJoin.c to this list (as well as in private) so as to include the the required changes/fixes to the shaping/joining file. I'm not sure if my email was received

Re: Shaping/Joining within fvwm

2002-12-12 Thread Nadim Shaikli
Mikhael/Olivier, I had sent an email with regards to the attached patch to FBidiJoin.c to this list (as well as in private) so as to include the the required changes/fixes to the shaping/joining file. I'm not sure if my email was received as I didn't get any responses nor did I see the changes

Re: Shaping/Joining within fvwm

2002-12-02 Thread Nadim Shaikli
--- Olivier Chapuis wrote: [snip snip] So we need the function: USC4UTF8Length(Char32 *str): return the length of an UCS-4 string considered as an UTF-8 string and also the following function will be useful (to allocate logical_unicode_str at exact

Re: Shaping/Joining within fvwm

2002-12-01 Thread Mikhael Goikhman
On 01 Dec 2002 01:04:09 +0100, Olivier Chapuis wrote: On Sun, Nov 24, 2002 at 12:49:35PM -0800, Nadim Shaikli wrote: --- Ethan Blanton wrote: Nadim Shaikli spake unto us the following wisdom: Ideally it would be wonderful to simply run fvwm and this code under a debugger and single

Re: Shaping/Joining within fvwm

2002-12-01 Thread Mikhael Goikhman
On 01 Dec 2002 12:50:38 +, Mikhael Goikhman wrote: On 01 Dec 2002 01:04:09 +0100, Olivier Chapuis wrote: Ok, I've found the problem. FBidiConvert assume that the in string and the out string have the same length. This is the case until you joint. With joint what may happen is:

Re: Shaping/Joining within fvwm

2002-11-30 Thread Olivier Chapuis
On Sun, Nov 24, 2002 at 12:49:35PM -0800, Nadim Shaikli wrote: --- Ethan Blanton wrote: Nadim Shaikli spake unto us the following wisdom: Ideally it would be wonderful to simply run fvwm and this code under a debugger and single step around for a better feel for what is causing it to

Re: Shaping/Joining within fvwm

2002-11-26 Thread Olivier Chapuis
On Sun, Nov 24, 2002 at 12:49:35PM -0800, Nadim Shaikli wrote: --- Ethan Blanton wrote: Nadim Shaikli spake unto us the following wisdom: I do have a possible idea of what is happening. Mikhael/Olivier, this might make sense to you guys more than others :-) so let me know if you want

Re: Shaping/Joining within fvwm

2002-11-24 Thread Nadim Shaikli
--- Ethan Blanton wrote: Nadim Shaikli spake unto us the following wisdom: Ideally it would be wonderful to simply run fvwm and this code under a debugger and single step around for a better feel for what is causing it to go into the weeds. How about running your debugger/fvwm in a

Re: Shaping/Joining within fvwm

2002-11-18 Thread Nadim Shaikli
Mikhael Goikhman wrote: On Tue, Nov 12, 2002 at 02:44:15PM -0800, Nadim Shaikli wrote: Here is my dilemma, I'm including a patch which works on the simple strings (1, 2 words in titles), but seems to fail on more complex ones without any indicators to why. I'm unable to reproduce those

Re: Shaping/Joining within fvwm

2002-11-18 Thread Nadim Shaikli
--- Mikhael Goikhman wrote: On 18 Nov 2002 12:09:16 -0800, Nadim Shaikli wrote: Mikhael/Olivier, were you able to reproduce the problem ? In other words, is it core-dumping for you as well ? I'm very curious and anxious to know what it was/is :-) Yes, it more or less core dumps on

Re: Shaping/Joining within fvwm

2002-11-18 Thread Ethan Blanton
Nadim Shaikli spake unto us the following wisdom: Maybe. But I would try to narrow the #if 0 code even more so that there is still no problem. That would be interesting to see. Ideally it would be wonderful to simply run fvwm and this code under a debugger and single step around for a

Re: Shaping/Joining within fvwm

2002-11-18 Thread Mikhael Goikhman
On 18 Nov 2002 14:54:13 -0800, Nadim Shaikli wrote: --- Mikhael Goikhman wrote: On 18 Nov 2002 13:20:54 -0800, Nadim Shaikli wrote: Luckily fribidi (fribidi.sf.net) is rather easy to download and compile :-) BTW, the patch was against 0.10.4 (current release version). You

Re: Shaping/Joining within fvwm

2002-11-18 Thread Olivier Chapuis
On Mon, Nov 18, 2002 at 12:09:16PM -0800, Nadim Shaikli wrote: Mikhael Goikhman wrote: On Tue, Nov 12, 2002 at 02:44:15PM -0800, Nadim Shaikli wrote: Here is my dilemma, I'm including a patch which works on the simple strings (1, 2 words in titles), but seems to fail on more complex

Re: Shaping/Joining within fvwm

2002-11-15 Thread Mikhael Goikhman
On 15 Nov 2002 10:34:57 +0100, Olivier Chapuis wrote: On Tue, Nov 12, 2002 at 02:44:15PM -0800, Nadim Shaikli wrote: Hi Guys, sorry to pick on the both of you, but since you championed the inclusion of Bidi (fribidi) into fvwm I thought I'd approach ya first. As promised (awhile