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

Bug#445555: marked as done (xterm does not honour colorBDMode when using FreeType fonts)



Your message dated Wed, 19 Mar 2008 02:10:06 +0100
with message-id <20080319011004.GA15585@patate.is-a-geek.org>
and subject line Re: Bug#445555: #445555 xterm does not honour colorBDMode when using FreeType fonts
has caused the Debian Bug report #445555,
regarding xterm does not honour colorBDMode when using FreeType fonts
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
445555: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=445555
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xterm
Version: 222-1etch2
Severity: important


Xterm does not honour the colorBDMode when instructed to render text
using FreeType fonts. This makes bold antialised text (such as directory
names in Midnight Commander) highly illegible and tiresome to the eyes,
especially because xterm combines bolding with highlighting.

The following simple patch is proposed to solve the problem (please adjust
code formatting as you see fit):

diff -u --recursive xterm-222.orig/fontutils.c xterm-222/fontutils.c
--- xterm-222.orig/fontutils.c	2006-09-10 22:55:28.000000000 +0300
+++ xterm-222/fontutils.c	2007-10-05 23:30:43.000000000 +0300
@@ -1540,11 +1540,13 @@
 		norm = xtermOpenXft(dpy, pat, "normal");

 		if (norm != 0) {
+		    if (screen->colorBDMode) {
 		    XftPatternBuild(pat,
 				    XFT_WEIGHT, XftTypeInteger, XFT_WEIGHT_BOLD,
 				    XFT_CHAR_WIDTH, XftTypeInteger, norm->max_advance_width,
 				    (void *) 0);
 		    bold = xtermOpenXft(dpy, pat, "bold");
+		    }

 #if OPT_ISO_COLORS
 		    if (screen->italicULMode) {



-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-k7
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)

Versions of packages xterm depends on:
ii  libc6                  2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii libfontconfig1 2.4.2-1.2 generic font configuration library ii libice6 1:1.0.1-2 X11 Inter-Client Exchange library ii libncurses5 5.5-5 Shared libraries for terminal hand
ii  libsm6                 1:1.0.1-3         X11 Session Management library
ii  libx11-6               2:1.0.3-7         X11 client-side library
ii  libxaw7                1:1.0.2-4         X11 Athena Widget library
ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar ii libxft2 2.1.8.2-8 FreeType-based font drawing librar ii libxmu6 1:1.0.2-2 X11 miscellaneous utility library
ii  libxt6                 1:1.0.2-2         X11 toolkit intrinsics library
ii  xbitmaps               1.0.1-2           Base X bitmaps

Versions of packages xterm recommends:
ii xutils 1:7.1.ds.3-1 X Window System utility programs

-- no debconf information



--- End Message ---
--- Begin Message ---
On Sun, Feb 24, 2008 at 18:02:21 -0500, Thomas Dickey wrote:

> Revisiting this, I see that colorBDMode with TrueType fonts is working
> the same as it does for bitmap fonts.  Probably this report should be
> closed, unless additional information is provided.
> 
Thanks Thomas.  Vladimir, if you still think this is an issue with
recent versions of xterm, please provide more information about the
problem you're seeing and we can reopen the bug.

Cheers,
Julien


--- End Message ---

Reply to: