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

Bug#347790: xterm: boldFont problem seems related to font encoding



On Sun, Feb 26, 2006 at 03:20:04AM +0100, Simon Budig wrote:
> Package: xterm
> Version: 208-3.1
> Followup-For: Bug #347790
> 
> 
> I too discovered that xterm no longer respects the boldFont ressource.
> In my .Xresources file I have these lines:

I can't reproduce this (perhaps some other resource value or command-line
option is relevant).

Compiling xterm with trace enabled, I see that it says (for both cases)
it will use the iso10646 font because of the locale setting:

xtermLoadWideFonts:1
SetVTFont(which=0, f_n=<null>, f_b=<null>)
set myfonts.f_n from menu_font_names[0][fNorm] -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
set myfonts.f_b from menu_font_names[0][fBold] <null>
set myfonts.f_w from menu_font_names[0][fWide] <null>
set myfonts.f_wb from menu_font_names[0][fWBold] <null>
xtermLoadFont #0 normal -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
xtermLoadFont #0 bold   <null>
xtermLoadFont #0 wide   <null>
xtermLoadFont #0 w/bold <null>
...derived bold -Misc-Fixed-bold-R-*-*-13-120-75-75-C-60-ISO10646-1
same_font_size height 13/13, min 6/6 max 6/6
...got a matching bold font
caching menu fontname 0.1 -Misc-Fixed-bold-R-*-*-13-120-75-75-C-60-ISO10646-1
...derived wide -Misc-Fixed-medium-R-*-*-13-120-75-75-C-120-ISO10646-1
caching menu fontname 0.2 -Misc-Fixed-medium-R-*-*-13-120-75-75-C-120-ISO10646-1
...derived wide/bold -Misc-Fixed-bold-R-*-*-13-120-75-75-C-120-ISO10646-1
caching menu fontname 0.3 -Misc-Fixed-bold-R-*-*-13-120-75-75-C-120-ISO10646-1
same_font_size height 13/13, min 6/6 max 6/6
same_font_size height 13/13, min 12/12 max 12/12
Will not use internal line-drawing characters
Will not use 1-pixel offset/overstrike to simulate bold
 
> *vt100*font:     -misc-fixed-medium-r-semicondensed-*-*-120-*-*-c-*-iso8859-1
> *vt100*boldFont: -misc-fixed-medium-r-semicondensed-*-*-120-*-*-c-*-iso8859-1
> *vt100*boldMode: off
> *vt100*boldColors: true
> *vt100*colorBDMode: true
> 
> Now this does not work for some reason. *But* when I change the font to the
> unicode encoding:
> 
> *vt100*font:     -misc-fixed-medium-r-semicondensed-*-*-120-*-*-c-*-iso10646-1
> *vt100*boldFont: -misc-fixed-medium-r-semicondensed-*-*-120-*-*-c-*-iso10646-1
> *vt100*boldMode: off
> *vt100*boldColors: true
> *vt100*colorBDMode: true
> 
> then boldMode suddenly starts working for whatever reason.
> 
> Hope this helps,
>         Simon
> 
> -- System Information:
> Debian Release: testing/unstable
>   APT prefers testing
>   APT policy: (990, 'testing')
> Architecture: i386 (i686)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.12.2
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> 
> Versions of packages xterm depends on:
> ii  libc6                     2.3.5-13       GNU C Library: Shared libraries an
> ii  libfontconfig1            2.3.2-1.1      generic font configuration library
> ii  libfreetype6              2.1.10-1       FreeType 2 font engine, shared lib
> ii  libice6                   6.9.0.dfsg.1-4 Inter-Client Exchange library
> ii  libncurses5               5.5-1          Shared libraries for terminal hand
> ii  libsm6                    6.9.0.dfsg.1-4 X Window System Session Management
> ii  libx11-6                  6.9.0.dfsg.1-4 X Window System protocol client li
> ii  libxaw8                   6.9.0.dfsg.1-4 X Athena widget set library
> ii  libxext6                  6.9.0.dfsg.1-4 X Window System miscellaneous exte
> ii  libxft2                   2.1.8.2-3      FreeType-based font drawing librar
> ii  libxmu6                   6.9.0.dfsg.1-4 X Window System miscellaneous util
> ii  libxrender1               1:0.9.0.2-1    X Rendering Extension client libra
> ii  libxt6                    6.9.0.dfsg.1-4 X Toolkit Intrinsics
> ii  xlibs-data                6.9.0.dfsg.1-4 X Window System client data
> ii  zlib1g                    1:1.2.3-9      compression library - runtime
> 
> Versions of packages xterm recommends:
> ii  xutils                    6.9.0.dfsg.1-4 X Window System utility programs
> 
> -- debconf information:
> * xterm/clobber_xresource_file: true
>   xterm/xterm_needs_devpts:
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Attachment: pgpDELk3TdImS.pgp
Description: PGP signature


Reply to: