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: x11/xawtv: Disable locale setting, as this cause failure
Author:  Mauro Carvalho Chehab <[email protected]>
Date:    Thu Feb 3 11:39:50 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/xawtv.c |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

---

http://git.linuxtv.org/xawtv3.git?a=commitdiff;h=931cefc8841b5e28d2007b5add686a8550d68ae5

diff --git a/x11/xawtv.c b/x11/xawtv.c
index bccf713..144948a 100644
--- a/x11/xawtv.c
+++ b/x11/xawtv.c
@@ -1585,7 +1585,24 @@ main(int argc, char *argv[])
     progname = strdup(argv[0]);
 
     /* toplevel */
+#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, "Xawtv",
                                  opt_desc, opt_count,
                                  &argc, argv,

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

Reply via email to