]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Detect non-monospaced X fonts, and respond by drawing text one
authorSimon Tatham <anakin@pobox.com>
Sat, 29 Mar 2008 10:48:16 +0000 (10:48 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 29 Mar 2008 10:48:16 +0000 (10:48 +0000)
commitcce6a5e2ec53542c3f4dca4035cdee4ec243fca5
treee86a7d8ed71a4355dab03313fb14d700713d653e
parent115898b2a5ed9d2bc1c5331998d9a700bbbf193e
Detect non-monospaced X fonts, and respond by drawing text one
character at a time centred in its character cell, as we do for
Pango. Gives much better results for those non-monospaced fonts
which are usable as terminal fonts, and shows up the problems with
the others more readily. (In particular, this means the preview pane
in the font selector now warns you there will be trouble if you
select such a font.)

[originally from svn r7949]
unix/gtkfont.c