On Wed, 24 Apr 2002 06:56:05 +0200, "Olivier Chapuis" <olivier chapuis free fr> wrote: > > On Fri, Apr 19, 2002 at 01:21:55AM +0000, Mikhael Goikhman wrote: > > On 18 Apr 2002 16:37:00 -0700, Nadim Shaikli wrote: > > > > > > Mikhael/Olivier, I downloaded a recent snapshot (20020416) to test > > > out the Bidi code that was recently added. I compiled with fribidi; > > > everything went smoothly - configure noted, > > > > > > With Bi-directional text support? yes > > > > > > yet I'm not sure how to go about displaying a window title in Arabic. > > > I tried the following, > > > > > > Using a 10646 font (its used successful in many other applications), > > > I defined the following entries in my fvwm2rc file, > > > > > > Style * Font -misc-fixed-medium-r-normal--20-200-75-75-c-100-full10x20-1 > > > > > Nadim, can you send me a pointer to a doc about the "full10x20" notation > for loading iso10646 font?
I'm not sure what you mean by "loading the 10646 font", but you can download the non-truncated 10x20 font using the link(s) below, http://www.arabeyes.org/download/external/vim/10x20.bdf.gz -or- http://www.arabeyes.org/download/external/vim/10x21.pcf.Z Note: the internal names of the fonts within the files might differ, please check 'mkfontdir' output (fonts.dir) for appropriate names -- if you have problems, don't hesitate to let me know. > > > AddToMenu arabic-test > > > + "Arabic" Title > > > + "ar-test" Exec exec xterm -title Ù?Ø±ØØ?ا -e rsh otho & > > > + "Ù?Ø±ØØ?ا" Exec exec xterm -title test -e rsh otho & > > > > > > In my .xinitrc prior to starting fvwm2, I 'xset fp+ my_10646_font_file', > > > I then start fvwm2; I invoke that "ar-test" entry, the xterm appears, > > > but the title is NOT displayed in arabic. The menu entry is not noted > > > in Arabic either. Do note that the environment is set so that I can use > > > other applications that require the Bidi library and the 10646 font (so > > > they're very much loaded - I hope I don't need to muck with locales and > > > such :-) > > > > I don't know how to tell fvwm that the encoding is utf8; using *-10646-1 > > font is not enough. Setting $LC_CTYPE to, say, ar_JO.utf8 does not work. > > I suppose Olivier knows. > > It seems that there is two problems here. > > - Displaying string with a core *-iso10646-1 font: at the present > time this should work only with fvwm compiled with MB support, an utf8 > locale and a libc that support utf8 locale (also X should reconize > the locale as an utf locale: see /usr/X11R6/lib/X11/locale/loacle.alias). > Unfortunately, I cannot test this as my libc does not support utf8 > locale. Mikhael, can you confirm that this work? > > - To apply bidi fvwm should reconize a core *-10646-1 font, I think > that fvwm fail to do this because I think that the default charset > with the utf8 XFree-4 locale is iso8859-1. This may be fixed after > a confirmation that the first point work. > > I will see if we can implement the use of core *-iso10646-1 font > without all the above requirement (but with XFree-4). > On the other hands, I think that with a true type iso10646-1 > font there is no problem (needs XFree-4.x, x>=1 and iso10646-1 > ttf with arabic/hebrew/persian characters to see bidi in work) Well, I'm not sure why all that is needed (I'm simply trying to display a few glyphs not alter my keyboard mapping, or specify date/currency settings, etc). By the way, I'm able to use multiple Arabic-enabled utilities without having to touch any of what is noted above (locales, libc support, etc) given the availability of the fonts and a rendering engine (glyph displayer) and Bidi (fribidi) - one such application is vim-6.0/6.1. On the same related-topic what about those that are not running linux per se, but are using various unix flavors (at work, for instance, I'm on a Sparc Solaris (SunOS-5.7)). Thanks & let me know if you need more info. - Nadim (please continue to CC for a faster response :-) __________________________________________________ Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more http://games.yahoo.com/ -- 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]