On Tue, Aug 17, 1999 at 10:10:27PM +0900, Stephen J. Turnbull wrote:
Stef> can anybody else reproduce the problem on linux ?
Yes. But only with the Courier Medium, although in several sizes. It
doesn't happen with Lucida Typewriter anyway. This is on an
XF86_Mach64 server on a 1280x1024x(8-bit) display. I get no such
behavior on a XF86_SVGA server on a 1024x768x(16-bit) display. Note
that the latter display actually has the 75x75 resolution xdpyinfo
thinks it has, while the former is a lot closer to 100x100. I don't
think that should matter, but....
well i'm _kind-of_ happy i'm not the only one with this problem, because
i don't think i've got any chance to fix it.
my resolution is 1600x1200 pixels in 16-bit with 75x75 dots per inch, as
says xdpyinfo. on XF86_SVGA .
and you're absolutely right, with Lucida Typewriter i don't get that
problem... but then i have another problem: i hate this font :(
Unfortunately, the font installations are also different. So.... I
guess I could try serving fonts from one to the other, but that will
take a bit to set up.
My guess is that there's some XEmacs code which is "guessing" that the
max height of the font is such and so based on the overall font
metrics, and it turns out that it's actually bigger than that (some
fonts do stuff like that intentionally, argh). XEmacs adjusts to
clear out font droppings (remember that bug?) where there are oversize
characters, but does not do so for blank space, I would think.
well i've been working on an editor written in java for quite some time,
and i've learned how to compromise on such guesses by increasing the
damaged area's height by one or two pixels up or down just to make sure
i didn't have any part of selection left when the selection dissapeared.
i know selection painting is usually a pain, but i think no speed would
be lost if the damaged area had a fool-proof-safety margin
kind-of-thing, otherwise, font max height ought to be 100% precise, but
i think this is more difficult.
--
# Stef Epardaud, # There is no limit to the power of computing ...
# Java Defeater # ... except men maybe ?
# Earth # Lunatech Research,
# Solar System # soon we will quit researching and start finding...