mkotyk / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

Unicode rendering odd behavior #285

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Echo 'ಠ_ಠ' to the console using 'Anonymous Pro (TT)' font (freely 
available).

What is the expected output? What do you see instead?
The underscore character appears shorter than usual, about half width.

What versions of mintty, Cygwin/MSYS, and Windows are you using?
Windows 7 Enterprise x64
Cygwin latest (don't know how to determine version; don't think it's relevant 
anyhow, since this is a rendering issue)
Mintty 1.0.1

Please provide any additional information below.
Selecting one of the ಠ characters appears to fix the rendering of the 
underscore character to full width, but only temporarily. It reverts to the 
shortened underscore when deselecting.

The attached screenshot shows the defect on the `$ echo` line. The line below 
with the inverted character shows me selecting that character where the 
rendering of the underscore next to it is corrected.

Original issue reported on code.google.com by james.jdunne@gmail.com on 4 Aug 2011 at 9:34

Attachments:

GoogleCodeExporter commented 8 years ago
I can't reproduce this on XP, neither with this font nor with a bunch of others 
that I tried. Will try again when I get back to my Win7 box.

Are you using the latest version of the font (1.002)? Does the font size 
matter? Do you see the issue with other fonts?

(Selection can make a difference because continuous runs of text with the same 
attributes are rendered with a single call to ExtTextOut(), whereas attribute 
changes such as the colour inversion for a selected block cause separate calls. 
The 'Kannada' script that the 'ಠ' comes from is rather a complex one, so 
there's probably something special going on here.)

Original comment by andy.koppe on 6 Aug 2011 at 7:57