Bug 113277

Summary: xterm shows wide chars always in bold
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Steffen Winterfeldt <snwint>
Component: X11 ApplicationsAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED FIXED QA Contact: Stefan Dirsch <sndirsch>
Severity: Normal    
Priority: P2 - High CC: dickey
Version: Beta 3   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Steffen Winterfeldt 2005-08-26 11:25:06 UTC
xterm -bg white \ 
-fn -efont-fixed-medium-r-normal--16-160-75-75-c-80-iso10646-1 \ 
-fw -efont-fixed-medium-r-normal--16-160-75-75-c-160-iso10646-1 
 
shows wide chars in bold face.
Comment 1 Mike Fabian 2005-08-26 12:20:00 UTC
Add xterm author Thomas Dickey to CC:.

Comment 2 Mike Fabian 2005-08-26 12:21:22 UTC
See also bug #99564.
Comment 3 Mike Fabian 2005-08-26 12:23:18 UTC
After applying my fix from bug #99564, this problem did not occur.

But later we ditched my patch in favor of the upstream fix.

Looks like the upstream fix for  bug #99564 is broken somehow.
Comment 4 Stefan Dirsch 2005-08-26 12:26:00 UTC
I think we should go back to xterm-203 and the old fix, since we don't have the
time for investigation.
Comment 5 Stefan Dirsch 2005-08-26 16:32:13 UTC
done. Fixed for Beta4.
Comment 6 Thomas Dickey 2005-08-26 18:51:19 UTC
odd - I should be able to see a problem in the debug-trace from xterm,
but both patches produce the same result.  However, running the example
in dialog for checklist-utf8, I do see that #204 is making the wide
characters bold while #203 with Fabian's patch does not.  I'll
investigate that and see what the cause is (perhaps the other font
change in #204 - will see).
Comment 7 Thomas Dickey 2005-08-28 00:11:25 UTC
I see the problem.  It's not the difference between the two patches,
but another change in #204 uncovered a bug from a few patches ago.
The code in charproc.c that calls xtermLoadWideFonts() causes the
setting for the wide font to be reevaluated.  That's not right (in
this case it should not matter).  But the visible problem is that
the "medium" is replaced by "*", which the font server renders as "bold".

Comment 8 Stefan Dirsch 2005-09-19 09:19:18 UTC
I've just updated xterm to #205 for SUSE Linux 10.1: 
     
-------------------------------------------------------------------    
Mon Sep 19 10:58:24 CEST 2005 - sndirsch@suse.de    
    
- updated to xterm-205    
  [...]    
  * fixes for Novell #113277:    
    - specify weight for wide font which may be derived from normal   
      fontname.    
    - cache the derived wide- and widebolt-fontnames.   
- obsoletes bugzilla-99564.patch  
  
bugzilla-99564.patch was the patch mentioned in Bug #99564, comment #16