On Tue, Feb 27, 2007 at 12:50:11AM +0100, Jörg Sommer wrote: > Package: xterm > Version: 224-1 > Severity: normal > > Hi, > > the manual page of xterm says: Note that xterm has one bold font which > you may set explicitly. It attempts to match a bold font for the other > font selections (font1 through font6). If the normal and bold fonts are > distinct, this resource [boldMode] has no effect. > > So I set boldFont and boldMode: > % xrdb -query|grep -E '(XTerm.*ont|bold)' > XTerm.*.boldFont: -misc-fixed-bold-*-*-*-18-*-*-*-*-*-iso10646-1 > XTerm.*.font: -misc-fixed-medium-*-*-*-18-*-*-*-*-*-iso10646-1 > XTerm.*.boldMode: false I need a little more information to see if I'm reconstructing this properly. Your locale appears to be de_DE.UTF-8, but the given resources are for "XTerm" rather than "UXTerm". Are you starting xterm using the "-u8" option, or using the "utf8" or "wideChars" resource, then? btw - the ".*." is really the same as "*" > As you can see the font and boldFont entities are distinct, ergo the > boldMode resource should get ignored. But it isn't so. I don't get bold > characters. If I set the boldMode to true, I get ugly characters for > font1 through font6. Well it could be distinct (even as specified) for a couple of different reasons, e.g., a) the pattern might not match a real font b) another resource could override one of the given patterns. For instance, I started with "*font", but that was overridden by "*VT100.font". But "UXTerm*font" worked. That was in my local app-defaults file (running with fvwm - none of that xrdb stuff to confuse). I see that by compiling xterm with tracing enabled (though it seems I should supply a shell script to do the queries, since this topic comes up regularly ;-) > Bye, Jörg. > > -- System Information: > Debian Release: unstable/experimental > APT prefers unstable > APT policy: (990, 'unstable'), (1, 'experimental') > Architecture: powerpc (ppc) > Shell: /bin/sh linked to /bin/dash > Kernel: Linux 2.6.20 > Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
Attachment:
pgpfjWUxwgOsv.pgp
Description: PGP signature