Hi, I'm trying to do what apparently is not very common to do, yet this is required functionality for me. I need to set the locale of the application from within the application itself. I'm actually able to perform the locale setting using setlocale(), but I'm having a problem with fonts.
The application is based on GTK 1.2. If I run it with the LC_ALL environment variable set to he_IL, it displays the Hebrew strings fine, using the right font. However, if I start the application with the default locale and then use setlocale() to change LC_ALL to he_IL, it displays the Hebrew strings, but using the wrong font, giving me gibberish. What I'd like to know is how does the automatic font selection work? And how I can change it from within the application? -- Alex Shnitman <[EMAIL PROTECTED]> http://www.hectic.net/ UIN 188956 PGP 0xEC5D619D / E1 F2 7B 6C A0 31 80 28 63 B8 02 BA 65 C7 8B BA ================================================================= 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]