>>>>> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes:
Herbert> i have the german localisation and when i change any of the
Herbert> fontsizes i always get:
Herbert> # # SCREEN & FONTS SECTION ############################ #
Herbert> \screen_dpi 75 \screen_zoom 175 \screen_font_sizes 5,00 6,00
Herbert> 7,00 8,00 9,00 10,00 11,00 12,00 13,00 14,00
Herbert, could you try the following patch to 1.1.6?
JMarc
Index: src/lyx_gui.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyx_gui.C,v
retrieving revision 1.73
diff -u -r1.73 lyx_gui.C
--- src/lyx_gui.C 2000/12/05 17:12:47 1.73
+++ src/lyx_gui.C 2001/01/19 15:44:26
@@ -16,6 +16,7 @@
#endif
#include <fcntl.h>
+#include <locale.h>
#include "lyx_gui.h"
#include FORMS_H_LOCATION
#include "support/filetools.h"
@@ -108,6 +109,10 @@
static const int num_res = sizeof(res)/sizeof(FL_resource);
fl_initialize(argc, argv, "LyX", cmdopt, num_res);
+ // It seems that the locale is changed by fl_initialize() with
+ // xforms 0.89.5+ because it calls XSetLocaleModifiers()
+ setlocale(LC_CTYPE, NULL);
+
fl_get_app_resources(res, num_res);
static const int geometryBitmask =