Path: utzoo!attcan!uunet!husc6!bloom-beacon!EXPO.LCS.MIT.EDU!jim
From: jim@EXPO.LCS.MIT.EDU (Jim Fulton)
Newsgroups: comp.windows.x
Subject: Re: does anyone have an xterm that works correctly with new R3 fonts
Message-ID: <8811291415.AA09212@EXPO.LCS.MIT.EDU>
Date: 29 Nov 88 14:15:28 GMT
References: <8811282313.AA04289@frankenberry.ai.mit.edu>
Sender: daemon@bloom-beacon.MIT.EDU
Organization: X Consortium, MIT Laboratory for Computer Science
Lines: 21


> The new R3 fonts are great but programs like xterm still dont seem to
> use them effectively.

Perhaps this should say "has anyone enhanced xterm use variable-width fonts"
since xterm works just fine with the fixed-width R3 fonts (the Courier family). 

Assuming that you're willing to say that all lines must still have the same
number of columns (yuck), this might not be too hard.  You'd probably have to
keep another array indicating the x coordinate of each character since you no
longer do a simple multiply.  Or, you could make sure that you've cached the
"current" x position and take the hit on any repositioning (screen editors
would probably run noticably slower). 

Columns of text will look really ugly. 

If you do implement it, please send context diffs to xbugs.

The text widget, however, does understand variable-width fonts.

								Jim