[comp.windows.x] xterm bug: overstriking for bold

rpotter@grip.cis.upenn.edu (Robert Potter) (09/15/90)

The xterm documentation states that if a bold font is not provided then
overstriking will be used.  This is not true.  The problem is that a default
bold font is "provided" by the C code.  In order to get overstruck bold, you
have to "un-provide" this font by putting something like

	xterm*boldFont:

in your X resources.  This patch fixes the problem:


*** /X/mit/clients/xterm/main.h	Mon Jan  8 18:40:14 1990
--- main.h	Fri Sep 14 16:58:57 1990
***************
*** 30,36 ****
  
  /* @(#)main.h\tX10/6.6\t11/10/86 */
  
! #define	DEFBOLDFONT		"fixed"
  #define	DEFBORDER		2
  #define	DEFBORDERWIDTH		2
  #define	DEFFONT			"fixed"
--- 30,36 ----
  
  /* @(#)main.h\tX10/6.6\t11/10/86 */
  
! #define	DEFBOLDFONT		NULL
  #define	DEFBORDER		2
  #define	DEFBORDERWIDTH		2
  #define	DEFFONT			"fixed"


--
Robert Potter (rpotter@grip.cis.upenn.edu)
        a.k.a (potter@cs.rochester.edu)