ilivit / mintty

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

Italics support #152

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I would like to use italics in my vim syntax files, prompt, etc.

Original issue reported on code.google.com by randy.ha...@gmail.com on 10 Nov 2009 at 3:31

GoogleCodeExporter commented 9 years ago
Hmm, the ECMA-48 standard actually has a control sequence for that ("\e[3m"), 
but
neither xterm nor rxvt support it. Urxvt does though, but it doesn't seem to 
work too
well, e.g. when doing an "echo $'\e[3mM\e[m'", part of the M gets cut off.

The trouble is, terminals are basically designed for rectangular character 
cells, so
slanted letter don't really fit that. When trying italic fonts in mintty, parts 
of
letters are painted outside their character cells, so they also end up being 
cut off
or not erased properly.

Do you know an example of a terminal that does have good italics support?

Original comment by andy.koppe on 10 Nov 2009 at 10:02

GoogleCodeExporter commented 9 years ago
It seems as thought konsole and gnome-terminal support italics but I can't say 
if 
they do it without the letter chopping. This discussion makes reference to them:

http://stackoverflow.com/questions/1326998/enabling-italics-in-vim-syntax-
highlighting-for-mac-terminal

Oh well, just a nice-to-have. Thanks!

Original comment by randy.ha...@gmail.com on 10 Nov 2009 at 10:49

GoogleCodeExporter commented 9 years ago
On windows the Consolas font seems to fit inside its character cells. I wanted 
to try italic fonts on mintty but I cannot validate the italic font-style 
property from the font dialog. 

Original comment by canard...@gmail.com on 30 Jan 2015 at 8:30