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: xawtv: Update fonts requirements
Author:  Dmitry Butskoy <[email protected]>
Date:    Tue Feb 1 14:41:18 2011 -0200

The problem is that under the modern X environment (the new font system
and unicode locale) the old xawtv font code works not very well.

Sometimes Xawtv report errors about "missing fonts" etc. Very often it
reports:

        Warning: Missing charsets in String to FontSet conversion

which is some already known issue with the old X applications (because X
system wants the correspond font(s) in the all charsets specified in the
old X locale, which are normally just not present in the distros due to
too rare usage). Moreover, such warnings are accompanied with some
appreciable delays (especially if specify just the "*" wildcard for the
font name).

Fortunately, Xawtv works acceptable (with some acceptable default system
fonts) when we just comment out all the "*fontSet" rules in the Xawtv
app-defaults file.

Additionally, the "*font:" rules can be deleted because it do not affect
anything real.

I've added some unicode font into the commented set. This font seems in
the main core X, and can help those who will try to uncoment "*fontSet"
lines and play with them.

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

 x11/Xawtv.ad |   57 ++++++++++++++++++++++++++++++++-------------------------
 1 files changed, 32 insertions(+), 25 deletions(-)

---

http://git.linuxtv.org/xawtv3.git?a=commitdiff;h=076c7198e0d46e51af449cfac72a2381ecc0b75b

diff --git a/x11/Xawtv.ad b/x11/Xawtv.ad
index cdcb3f0..e83c0f3 100644
--- a/x11/Xawtv.ad
+++ b/x11/Xawtv.ad
@@ -3,26 +3,31 @@
 ! Strings
 
 Xawtv*international:           true
-Xawtv*font:                    7x13bold
-Xawtv*fontSet:                 \
- -*-lucidatypewriter-bold-r-normal-*-14-*-*-*-m-*-iso8859-*, \
-          -*-courier-bold-r-normal-*-14-*-*-*-m-*-iso8859-*, \
-         -gnu-unifont-bold-r-normal--16-*-*-*-c-*-*-*, \
-       -efont-biwidth-bold-r-normal--16-*-*-*-*-*-*-*, \
-                -*-*-bold-r-normal-*-16-*-*-*-m-*-*-*, \
-                -*-*-bold-r-normal-*-16-*-*-*-c-*-*-*, \
-                        -*-*-*-*-*-*-16-*-*-*-*-*-*-*, *
+! Modern X (with fontconfig system and unicode locales)
+! works acceptable with these lines commented out.
+! Feel free to uncomment it and choose the proper font(s) if needed.
+!Xawtv*fontSet:                        \
+! -*-fixed-bold-r-normal-*-14-*-*-*-*-*-iso10646-1, \
+! -*-lucidatypewriter-bold-r-normal-*-14-*-*-*-m-*-iso8859-*, \
+!          -*-courier-bold-r-normal-*-14-*-*-*-m-*-iso8859-*, \
+!         -gnu-unifont-bold-r-normal--16-*-*-*-c-*-*-*, \
+!       -efont-biwidth-bold-r-normal--16-*-*-*-*-*-*-*, \
+!                -*-*-bold-r-normal-*-16-*-*-*-m-*-*-*, \
+!                -*-*-bold-r-normal-*-16-*-*-*-c-*-*-*, \
+!                        -*-*-*-*-*-*-16-*-*-*-*-*-*-*, *
 
 TopLevelShell*international:   true
-TopLevelShell*font:            7x13bold
-TopLevelShell*fontSet:         \
- -*-lucidatypewriter-bold-r-normal-*-14-*-*-*-m-*-iso8859-*, \
-          -*-courier-bold-r-normal-*-14-*-*-*-m-*-iso8859-*, \
-         -gnu-unifont-bold-r-normal--16-*-*-*-c-*-*-*, \
-       -efont-biwidth-bold-r-normal--16-*-*-*-*-*-*-*, \
-                -*-*-bold-r-normal-*-16-*-*-*-m-*-*-*, \
-                -*-*-bold-r-normal-*-16-*-*-*-c-*-*-*, \
-                        -*-*-*-*-*-*-16-*-*-*-*-*-*-*,*
+! Modern X (with fontconfig system and unicode locales)
+! works acceptable with these lines commented out.
+! Feel free to uncomment it and choose the proper font(s) if needed.
+!TopLevelShell*fontSet:                \
+! -*-lucidatypewriter-bold-r-normal-*-14-*-*-*-m-*-iso8859-*, \
+!          -*-courier-bold-r-normal-*-14-*-*-*-m-*-iso8859-*, \
+!         -gnu-unifont-bold-r-normal--16-*-*-*-c-*-*-*, \
+!       -efont-biwidth-bold-r-normal--16-*-*-*-*-*-*-*, \
+!                -*-*-bold-r-normal-*-16-*-*-*-m-*-*-*, \
+!                -*-*-bold-r-normal-*-16-*-*-*-c-*-*-*, \
+!                        -*-*-*-*-*-*-16-*-*-*-*-*-*-*,*
 
 *popup_help.title:             Welcome to xawtv!
 xawtv.tv.help: \
@@ -382,13 +387,15 @@ xawtv.onscreen*background:                black
 xawtv.onscreen*borderColor:            black
 xawtv.onscreen*foreground:             lightgreen
 xawtv.onscreen.label.justify:          left
-xawtv.onscreen.label.font:             -*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*
-xawtv.onscreen.label.fontSet:          \
-     -*-ledfixed-medium-r-semicondensed--39-*-*-*-c-*-*-*, \
- -*-bitstream vera sans-medium-r-normal--39-*-*-*-*-*-*-*, \
-           -*-luxi sans-medium-r-normal--39-*-*-*-*-*-*-*, \
-                          -*-*-r-normal--39-*-*-*-*-*-*-*, \
-                               -*-*-*-*--39-*-*-*-*-*-*-*,*
+! Modern X (with fontconfig system and unicode locales)
+! works acceptable with these lines commented out.
+! Feel free to uncomment it and choose the proper font(s) if needed.
+!xawtv.onscreen.label.fontSet:         \
+!     -*-ledfixed-medium-r-semicondensed--39-*-*-*-c-*-*-*, \
+! -*-bitstream vera sans-medium-r-normal--39-*-*-*-*-*-*-*, \
+!           -*-luxi sans-medium-r-normal--39-*-*-*-*-*-*-*, \
+!                          -*-*-r-normal--39-*-*-*-*-*-*-*, \
+!                               -*-*-*-*--39-*-*-*-*-*-*-*,*
 
 xawtv.vtx.allowShellResize:            true
 xawtv.vtx.label.resize:                        true

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

Reply via email to