]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Improve shadow bold mode: set the default shadow bold offset to +1
authorSimon Tatham <anakin@pobox.com>
Sat, 2 Nov 2002 16:16:35 +0000 (16:16 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 2 Nov 2002 16:16:35 +0000 (16:16 +0000)
commit332154155b07b8003ad04a5147522424e75b0252
tree9d4e4746d185e7e6d53b9f6e595ba4cc338a3cc0
parent2e28a8ba00b010f7e3581a990c5a68ca5594268e
Improve shadow bold mode: set the default shadow bold offset to +1
not -1 (it turns out _most_ X fonts prefer the former, though
irritatingly my favourite real X font used to prefer the latter
which was why I made the X version of my Font Of Choice do so too),
and also clip to the boundaries of the rectangle we should be
drawing text in. This still doesn't completely prevent display
corruption in the case where text drawn in one sweep is partially
overwritten in a future one, but gnome-terminal has this problem
too, and now we've got the right default SB offset _and_ offer the
opportunity to reconfigure it I think this is pretty good for now.

git-svn-id: http://svn.tartarus.org/sgt/putty@2184 cda61777-01e9-0310-a592-d414129be87e
settings.c
unix/pterm.1
unix/pterm.c