On Sat, 23 Mar 2002, Diego Iastrubni wrote:

> Hello list
>
> I found an interesting bug in xchat and biditext. When I set it to use "fonts
> sets" (Settings, Set-Up, Interface, Channel Window, use font sets), the words
> are by them are written in "logical form", but the direction the sentence is
> reversed: the first word of the sentence is the left most, while the last is
> the rightest. It only happens when I use "fonts set", and apparently gtk uses
> them by default (xchat UI is translated to hebrew and the words direction is
> reversed, even though the translation is, done logically).
>
> I already posted that to tzafrir and he suggested me to post it here.

I think I sort-of figured out why it happens:

The fontset is:
-b&h-lucidatypewriter-medium-r-normal-*-*-120-*-*-m-*-*-*,-default-*ng-medium-r-normal--14-*,*

(This is the default from debian's xchat package)

Note that the first one is a specification of a font that is not hebrew.

Maybe this font "intercepts" the spaces, and thus the program needs to
print Hebrew words seperately?

I'm not sure this description is correct, though...

>
> I am using
> biditext      : r2l-1.0.0-5 (from tzafrir's rpm).
> Fribidi       : fribidi-0.9.0-1mdk

Fribidi 0.9.0 is a bit problematic, espcially with gtk programs.

If you're expecting some strange crashes (espcially on startup) the first
thing I'd do would be to upgradefribidi to the lates version (0.10.1,
currently).

Reasons:

* some bugs were fixed, I believe mostly memory leaks

* This version is not related to gtk. Version 0.9.0 may use some functions
of the same name such as some gtk functions. This is very problematic in a
library that is loaded with LD_PRELOAD (biditext.so)

> gtk   : libgtk+1.2-1.2.10-14mdk
> xchat : xchat-1.8.2-1mdk
> a mdk 8.1 default installation.
>

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to