[comp.windows.x] Anyone running xconq?

edward@twg.com (Edward C. Bennett) (08/03/90)

Is anyone out there running xconq with X11R4? For me, it builds
OK but it starts up in a very small window. After I resize the
window the playing area is OK but all the text windows are wrong.
Has anyone fixed this "problem"?

Any and all help is greatly appreciated!
-- 
Edward C. Bennett - The other MMDF guy			edward@twg.com
The Wollongong Group					(415) 962-7252
1129 San Antonio Road, Palo Alto, CA 94303
		Before he ever met her, he wrote her a letter.

edward@twg.com (Edward C. Bennett) (08/06/90)

In article <7691@gollum.twg.com> edward@twg.com (me) writes:
>Is anyone out there running xconq with X11R4? For me, it builds
>OK but it starts up in a very small window. After I resize the
>window the playing area is OK but all the text windows are wrong.
>Has anyone fixed this "problem"?

The problem stems from the redefinition of some of the members of
the XFontStruct font definition structure. Here's the fix:

In X11.c, the function get_font_size(), change:

    *width = font->max_bounds.rbearing - font->min_bounds.lbearing;
    *height = font->max_bounds.ascent + font->min_bounds.descent;

to

    *width = font->max_bounds.width;
    *height = font->ascent + font->descent;

Credit to Dan Lovinger <dl2n+@andrew.cmu.edu> for the fix.
-- 
Edward C. Bennett - The other MMDF guy			edward@twg.com
The Wollongong Group					(415) 962-7252
1129 San Antonio Road, Palo Alto, CA 94303
		Before he ever met her, he wrote her a letter.