This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/xawtv3.git tree:

Subject: motv/mtt: Disable locale setting, as this cause failure
Author:  Mauro Carvalho Chehab <[email protected]>
Date:    Thu Feb 3 11:43:36 2011 -0200

There are several issues with modern Xorg servers and
UTF-8 fonts. Basically, on several setups, xawtv won't
find a proper UTF-8, failing to load with:
        Warning: Missing charsets in String to FontSet conversion
        Warning: Unable to load any usable fontset
        Error: Aborting: no fontset found

While disabling locale is not that a good idea, it is better
to disable it than to fail completely. A proper fix would be
to change its code to use some newer Xorg libraries, but this
would be a major change.

Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 x11/motv.c |   18 +++++++++++++++++-
 x11/mtt.c  |   15 +++++++++++++++
 2 files changed, 32 insertions(+), 1 deletions(-)

---

http://git.linuxtv.org/xawtv3.git?a=commitdiff;h=643f59a92efee8318040aacf83317d10bf345aff

diff --git a/x11/motv.c b/x11/motv.c
index be0b126..d8fb4a9 100644
--- a/x11/motv.c
+++ b/x11/motv.c
@@ -3252,7 +3252,23 @@ main(int argc, char *argv[])
     unsigned long  freq;
     
     hello_world("motv");
-    XtSetLanguageProc(NULL,NULL,NULL);
+#if 0
+    /*
+     * There are several issues with modern Xorg servers and
+     * UTF-8 fonts. Basically, on several setups, xawtv won't
+     * find a proper UTF-8, failing to load with:
+     * Warning: Missing charsets in String to FontSet conversion
+     * Warning: Unable to load any usable fontset
+     * Error: Aborting: no fontset found
+     *
+     * While disabling locale is not that a good idea, it is better
+     * to disable it than to fail completely. A proper fix would be
+     * to change its code to use some newer Xorg libraries, but this
+     * would be a major change.
+     */
+
+     XtSetLanguageProc(NULL,NULL,NULL);
+#endif
     app_shell = XtVaAppInitialize(&app_context, "MoTV",
                                  opt_desc, opt_count,
                                  &argc, argv,
diff --git a/x11/mtt.c b/x11/mtt.c
index eb4a622..e9b4a01 100644
--- a/x11/mtt.c
+++ b/x11/mtt.c
@@ -204,7 +204,22 @@ main(int argc, char **argv)
     av = malloc(sizeof(char*)*(argc+1));
     memcpy(av,argv,sizeof(char*)*(argc+1));
 
+#if 0
+    /*
+     * There are several issues with modern Xorg servers and
+     * UTF-8 fonts. Basically, on several setups, xawtv won't
+     * find a proper UTF-8, failing to load with:
+     * Warning: Missing charsets in String to FontSet conversion
+     * Warning: Unable to load any usable fontset
+     * Error: Aborting: no fontset found
+     *
+     * While disabling locale is not that a good idea, it is better
+     * to disable it than to fail completely. A proper fix would be
+     * to change its code to use some newer Xorg libraries, but this
+     * would be a major change.
+     */
     XtSetLanguageProc(NULL,NULL,NULL);
+#endif
     XtToolkitInitialize();
     app_context = XtCreateApplicationContext();
     XtAppSetFallbackResources(app_context,fallback_ressources);

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to