On 18 Nov 2002 12:09:16 -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 ones without any indicators to why. I'm unable > > > to reproduce those problems without running fvwm (ie. I can't > > > get the code to fail outside of its inclusion into fvwm). I'm > > > also unfamiliar with Xnest and how to go about setting that whole > > > thing up, etc. Which leads me to my humble request. As noted > > > I'm including the patch against CVS snapshot 20021111 (and > > > fribidi-0.10.4) and I'm also including a simple xterm call with > > > an Arabic/utf-8 title. If you were to chmod 777 that xterm call > > > and invoke it, fvwm fails and core dumps - the traceback doesn't > > > really reveal much to me (as I'm not too familiar with the fvwm > > > code). So I'm asking for help. > > > > Log message: > > * incorporated a shape-and-join bidi functionality from Nadim Shaikli > > * it is disabled for now (#if 0) since some Arabic chars cause core dump > > 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 me when a new xterm with some arabic text that you sent (or any its substring) is launched or when it is moved. I simply used some random "*-iso10646-1" font, not the one you sent. I use fribidi-0.10.1 which does not have fribidi_boolean definition. Although if you take a look at my "#if 0" it would seem like the problem is in your code, it is possible that the problem is in FBidi.c or fribidi. Something is not allocated enough. I tried to increase all allocations in FBidi and replace alloca, but it still core dumps with your code enabled. Since your code simply replaces some characters, the only reason I may think about is you use some unicode character that makes fribidi unhappy. I may take a look at this later. Or maybe you may fix it yourself. Regards, Mikhael. -- 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]