]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Support for an alternative mechanism for displaying wide characters
authorSimon Tatham <anakin@pobox.com>
Sun, 3 Sep 2006 14:31:34 +0000 (14:31 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 3 Sep 2006 14:31:34 +0000 (14:31 +0000)
commit16510bf3b9d93aec577b039f861a33fcfb2b359b
tree26bf73155a59df3ee4f13fb1c83b33768b0b6f74
parent33e827818a163fa76a357506fae5e032ced3e9bf
Support for an alternative mechanism for displaying wide characters
under X: instead of having two separate fixed-width fonts one of
which is twice the width of the other, you can instead have a single
font in which some characters are twice as wide as others.

This is implemented very simply: if you specify a wide font, it will
be used for wide characters, and if you don't then the normal font
will be used for wide characters (so they'd better _be_ wide in that
font, or there'll be trouble).

I got this idea from Jed, whose latest version supports UTF-8 and
requires a font of this type. If there are going to be X fonts like
that kicking around, there will doubtless be people who want to use
them.

[originally from svn r6844]
unix/gtkwin.c