CVS migo: * added fribidi library detection
CVSROOT:/home/cvs/fvwm Module name:fvwm Changes by: migo02/02/21 17:59:31 Modified files: . : acconfig.h configure.in ChangeLog utils : ChangeLog fvwm-config.in Log message: * added fribidi library detection -- Visit the official FVWM web page at 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]
Re: Adding Bidi to Fvwm ?
On 21 Feb 2002 12:08:45 -0800, Nadim Shaikli wrote: > > With the recent work on multibyte support in Fvwm2 - has any thought been > given to those languages that are right-to-left oriented (Arabic, Farsi, > Hebrew, etc...) ? In other words, have any considerations been given to > the addition of Bidi (Bi-directionality) ? > > http://www.unicode.org/unicode/reports/tr9/ > > May I suggest a compile-time option of including Fribidi (open source Bidi > library), > > http://fribidi.sourceforge.net > > I'd be interested in adding Arabic support to Fvwm but that is very much > hinged on the inclusion of Bidi (its a first-order requirement). It would > greatly simply life for me (and others I'm sure) if there was an option > to include and enable Bidi without having to resort to hacks. > > For what its worth - the inclusion of Bidi will certainly increase Fvwm's > user base, since it would be one of the few window-managers with FULL > multibyte support; a BIG deal to those that are right-to-left'ies :-) > > Any takers ? Olivier ;-) ? I don't know whether I will add bidi support, but I may try to start it. At least I understand what this means. It is not trivial to immediately understand why this is needed and even less trivial to understand that it's all heuristics, there may be possible conflicts in any algorithms. Examples of logical input / visual output. % echo "SHALOM, fvwm (SHALOM is hi in IVRIT!)." | fribidi -C CapRTL .(!IVRIT is hi in MOLAHS) fvwm ,MOLAHS % echo "hi 1-2 (english) is SHALOM 1-2 (IVRIT)." | fribidi -C CapRTL hi 1-2 (english) is IVRIT) 2-1 MOLAHS). # the second example seems like a bug in my fribidi, but maybe not Actually, bidi is orthogonal to unicode and to aligment, i.e. it may be applied to a normal 256-symbol charset, and, I think, we may assume it only affects an order of symbols inside the string, not its alignment. So, what I may do is to add --with-fribidi-{library,includes}, and try to figure out where this bidi filter should be added. But I am not sure yet what exact parameters should be used in all cases (MULTIBYTE or not) and what are the conditions when bidi should be applied at all. Regards, Mikhael. -- Visit the official FVWM web page at 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]
Adding Bidi to Fvwm ?
With the recent work on multibyte support in Fvwm2 - has any thought been given to those languages that are right-to-left oriented (Arabic, Farsi, Hebrew, etc...) ? In other words, have any considerations been given to the addition of Bidi (Bi-directionality) ? http://www.unicode.org/unicode/reports/tr9/ May I suggest a compile-time option of including Fribidi (open source Bidi library), http://fribidi.sourceforge.net I'd be interested in adding Arabic support to Fvwm but that is very much hinged on the inclusion of Bidi (its a first-order requirement). It would greatly simply life for me (and others I'm sure) if there was an option to include and enable Bidi without having to resort to hacks. For what its worth - the inclusion of Bidi will certainly increase Fvwm's user base, since it would be one of the few window-managers with FULL multibyte support; a BIG deal to those that are right-to-left'ies :-) Any takers ? Olivier ;-) ? Thanks.. BTW: Please CC replies to all noted in header. - Nadim __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com -- Visit the official FVWM web page at 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]
xinerama windowlist patch
Attached is a patch to fix a problem where clicking the mouse button to popup the windowlist on the secondary screen of an xinerama setup always pops up on the primary screen. This e-mail and any attachments are confidential. If you are not the intended recipient, please notify us immediately by reply e-mail and then delete this message from your system. Do not copy this e-mail or any attachments, use the contents for any purpose, or disclose the contents to any other person: to do so could be a breach of confidence. --- windowlist.c.orig Thu Feb 21 11:59:52 2002 +++ windowlist.cThu Feb 21 12:01:31 2002 @@ -158,6 +158,11 @@ memset(&mops, 0, sizeof(mops)); memset(&mret, 0, sizeof(MenuReturn)); + + /* parse postitioning args - must call this even if no action is given + * because it sets the xinerama screen origin */ + opts = get_menu_options(action, w, tmp_win, eventp, NULL, NULL, &mops); + if (action && *action) { /* Look for condition - CreateFlagString returns NULL if no '(' or '[' */ @@ -175,10 +180,6 @@ CreateConditionMask(cond_flags, &mask); free(cond_flags); } - -/* parse postitioning args - must call this even if no action is given - * because it sets the xinerama screen origin */ -opts = get_menu_options(action, w, tmp_win, eventp, NULL, NULL, &mops); /* parse options */ while (opts && *opts)