Closed GoogleCodeExporter closed 9 years ago
Thanks, I reproduced this on Windows 7. It isn't specific to colour output but
happens to any bold output using UbuntuMono. I also saw this with the
Windows-supplied Consolas, but not with Lucida Console (mintty's default),
Courier New, or DejaVu Sans Mono.
Therefore, this can be worked around by choosing a font that isn't affected or
by switching off the 'Show bold as font' option and using 'Show bold as colour'
instead.
I'll need to investigate why this happens with some fonts but not others.
Original comment by andy.koppe
on 11 Mar 2012 at 5:48
I cannot duplicate this issue with the latest available version of UbuntuMono
fonts. I am running win7 x64 on MSYS. I tried on mintty versions 1.0.1, 1.0.3,
and the latest from trunk.
I was, however, able to reproduce this problem using the Consolas font. After a
little bit of digging around, setting the nWidth to 0 lets "the font mapper
chooses a closest match value"
(http://msdn.microsoft.com/en-us/library/dd183499(v=vs.85).aspx). This fixed
the rough bold for Consolas.
Original comment by anhk...@gmail.com
on 24 May 2012 at 6:17
Attachments:
Thanks very much for tracking this down. Fix applied in r1275 on trunk.
I would have expected this to cause the bold variant of the font to come out
wider than the regular one, and to therefore trigger the fake bold hack where
the text is rendered twice with a one pixel offset. However, that isn't
happening, which is great, although then I don't understand why trying to force
the very same width had those lamentable results.
Original comment by andy.koppe
on 24 May 2012 at 12:05
Original comment by andy.koppe
on 16 Jun 2012 at 8:27
Original issue reported on code.google.com by
tschutte...@gmail.com
on 15 Feb 2012 at 6:39Attachments: