]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Fix downloading of variable-pitch X font glyphs.
authorSimon Tatham <anakin@pobox.com>
Sun, 20 Mar 2016 17:39:43 +0000 (17:39 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 20 Mar 2016 18:30:03 +0000 (18:30 +0000)
commitca687005701304bf3b55670e0057a313411ef38b
tree74a593605d048cf9b6ecba65f473404c69e6a9f8
parenta7e363402f89dd61c3c2268cbeccc8e89b8d57ee
Fix downloading of variable-pitch X font glyphs.

I had completely forgotten, when rendering each glyph to a server-side
pixmap and downloading its contents, to only look at the part of the
pixmap that XDrawImageString would have overwritten, as specified by
the metrics in the XCharStruct. Now 'pterm -fn server:variable'
doesn't randomly make up bitmap nonsense outside each character's
bounding rectangle.
unix/gtkfont.c