[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Gnome-terminal, still the font selection



OK, I fiddled a bit with gnome-terminal, and found that:
1) some XLFD (X logical font descriptions) are limited in gnome-terminal
to 64 chars, where :
xlsfonts | cut -c1-64 | grep "lucida console" 
-b&h-lucida console-medium-r-semi condensed--0-0-0-0-m-0-dosenco
-b&h-lucida console-medium-r-semi condensed--0-0-0-0-m-0-dosenco
-b&h-lucida console-medium-r-semi condensed--0-0-0-0-m-0-iso1064
-b&h-lucida console-medium-r-semi condensed--0-0-0-0-m-0-iso8859
etc.

64 is obviously too short.

2) there are other problems. I can't find what they come from (they are
calls to Pango to find fonts, Pango returns a XLFD, libzvt asks directly
the font from X with this very same XLFD, and the font is not found, but
sometimes is).

However, libvte (alternate widget) works really fine for this. Should we
switch to libvte ?
Length of the patch:

--- gnome-terminal-2.1.0/debian/rules   2002-10-26 19:35:14.000000000
+0200
+++ gnome-terminal-2.1.0/debian/rules.orig      2002-10-27
08:18:25.000000000 +0100
@@ -31,7 +31,7 @@
        find -name *.xml -exec perl -i -pe
's,http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd,/usr/share/sgml/docbook/dtd/xml/4.1.2/docbookx.dtd,'
{} \;

        ./configure --prefix=/usr --host=$(DEB_HOST_GNU_TYPE) \
-       --build=$(DEB_BUILD_GNU_TYPE) --with-widget=vte
+       --build=$(DEB_BUILD_GNU_TYPE) --with-widget=zvt

        touch configure-stamp

-- 
JCD




Reply to: