suzdraws / mintty

Automatically exported from code.google.com/p/mintty
0 stars 0 forks source link

Stretch narrow characters that are meant to be wide #123

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Fonts don't always match the width assumptions in wcwidth(), which MinTTY
uses to determine whether a character should be one or two cells wide. For
example, MSGothic doesn't have the double-line box drawing characters and
Windows substitutes the Lucida Console equivalents. Those are only one
rather than two cells wide though, with rather ugly consequences.

MinTTY could of course consult the font in use to determine how wide each
character is, but that would completely confuse applications. Therefore,
stretching narrow characters wide seems the best solution. (MinTTY already
deals with the opposite problem by shrinking characters that are too wide.)

Original issue reported on code.google.com by andy.koppe on 20 Jun 2009 at 6:55

GoogleCodeExporter commented 9 years ago

Original comment by andy.koppe on 20 Jun 2009 at 6:56

GoogleCodeExporter commented 9 years ago

Original comment by andy.koppe on 24 Oct 2010 at 9:41

GoogleCodeExporter commented 9 years ago
Yes, right. Stretching or centering them in a two-cell space.

Original comment by towom...@googlemail.com on 31 May 2012 at 11:30