On Mon, 2004-06-28 at 06:13, Michelle Konzack wrote:
> Hello all,
>
> Curently I am crating a "fvwm" in arabic but I have on problem:
>
> If I have menus which are only in one language, it works quiet well but
> not if I have arabic and english. For this I use:
>
> ____ ( '/home/michelle/fvwm-ar/menus/TaskBarStartMenu' ) _____________
snip
> \______________________________________________________________________
>
> But how can I make bilingual menus ?
> I need a combination of arabic/french and arabic/english.
>
>
> Thanks for your Help
> Michelle
The following works for me:
DestroyMenu arabic
AddToMenu arabic "العربية" Title
+ "العربية" Exec exec xmessage "Arabic"
+ "English" Exec exec xmessage "English"
+ "Français" Exec exec xmessage "French"
+ "'Deutsche' enthält keine Akzente" Exec exec xmessage "German"
This doesn't look terribly different from your menu, so I suspect the
problem you're having is occurring because the font being used
(-arabic-newspaper-*) does not have any Latin characters.
GTK2 applications (technically, the Pango library) will look for a glyph
in alternate fonts when it isn't present in the user's preferred font,
which may be why this went unnoticed. (gucharmap, from GNOME, will show
you what font a glyph actually came from if you mouse2 over the glyph in
the character table.) FVWM does not (as far as I can tell) support
searching through other fonts like this, so the best you could do is ask
nicely that they support this or use a different font.
If Xft is available, the "Arial", "Courier New", and "Times New Roman"
truetype fonts have enough glyphs for all of the characters in the
example menu above, so they should be fine for Arabic, English, and
French. These fonts are available under a free-ish license in the
"Microsoft True Type Core Fonts for the Web" package, which can be
easily be downloaded using the msttcorefonts Debian package (which is in
contrib.)
HTH/Ich hoffe, das hilft dir,
--
Ben Winslow <rain_at_bluecherry.net>
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Jun 28 2004 - 23:22:59 BST