News for hackers. Stuff that matters.
Re:Wezterm – A GPU-accelerated cross-platform terminal emula... by brundolf on Wednesday March 31, 2021 @10:27PM (#26655981)
I've seen this style used to raise the contrast between comments and otherwise. Though I am surprised it works in Vim given that most terminals can't render multiple fonts at once. Are there control characters for that?
Re:Wezterm – A GPU-accelerated cross-platform terminal emula... by ZekeSulastin on Wednesday March 31, 2021 @10:46PM (#26656087)
IIRC the monospace font itself would have the cursive characters as its "italic" typeface, then the terminal would just need to be sent the control characters for italic text (i.e. https://rubjo.github.io/victor-mono/)
Re:Wezterm – A GPU-accelerated cross-platform terminal emula... by brundolf on Wednesday March 31, 2021 @11:28PM (#26656356)
Oh I see, so it's one font but two styles. That makes more sense (though to be honest I don't think I knew older terminals could do italics either)
Re:Wezterm – A GPU-accelerated cross-platform terminal emula... by alpaca128 on Thursday April 01, 2021 @02:16AM (#26657162)
It can be tricky to make it work in Vim + Tmux etc., but it can be done provided the font includes it as normal italic typefaces. I use Victor Mono and iirc it's available in two variants depending on whether you want normal italic font or cursive.

I've been using it for a while now, can't say it makes a big difference(both positive or negative), but it kind of looks nice which is the point in the end.

Re:Wezterm – A GPU-accelerated cross-platform terminal emula... by p00f on Thursday April 01, 2021 @02:54AM (#26657365)
Wezterm can use separate fonts for each style like italic and bold
Re:Wezterm – A GPU-accelerated cross-platform terminal emula... by kevin_thibedeau on Wednesday March 31, 2021 @10:47PM (#26656094)
The script may be the italic glyphs for that font.