[comp.windows.x] xditview

keith@EXPO.LCS.MIT.EDU (Keith Packard) (04/12/90)

> Anyway, it now runs and displays text.  Unfortunately, it still isn't
> entirely correct, and I'm afraid this problem is much more serious.  There
> is something wrong with the way that it is either reading or displaying
> the fonts.  For example, in the default font 'R', it leaves a *huge* space
> after every 'l' character, sort of like this:

> 	Hel        l       o Worl        d

> This is completely consistent within a given font and point size, but it
> varies considerably between fonts and even between different point sizes
> in the same font.  The above example happens with 10-point 'R', but not
> with 12-point.

This is almost certainly a server bug -- xditview uses XDrawText to space the
individual letters correctly on the screen, without using separate requests. 
I've seen many servers do this incorrectly, so xditview has a way of working
around this server bug, by setting the noPolyText resource to TRUE:

*noPolyText: true

See if this solves the problem.

Keith Packard
MIT X Consortium