fabrizioschiavi/pragmatapro

Strange german style font rendering of PragmataPro Mono in neovide

rubin55 opened this issue · 2 comments

I'm a long-time user of PragmataPro Mono. I've recently switched from vim+gvim to nvim+neovide. For some strange reason, neovide renders PragmataPro Mono as some sort of german font (gothic?) I've created an issue here: neovide/neovide#2786

I'm now not certain that the issue is with neovide; do these glyphs look familiar to you? is this something within PragmataPro Mono and is neovide somehow selecting a wrong glyphset within the font?

At first sight it seems Neovide uses aalt feature as default creating an interesting mess

feature aalt {
  feature fina;
  feature medi;
  feature init;
  feature ss03; ← Fraktur
  feature ss04; ← Fraktur Bold
  feature ss05; ← Poker symbols with lines above and bottom
  feature ss06; ← Script
  feature ss07; ← Script Bold
  feature ss08; ← Serif Bold
  feature ss09; ← Serif Italic
  feature ss10; ← Serif Bold Italic
  feature ss11; ← Braille
} aalt;

Following this sequence you'll obtain exactly the text shown in the issue.
I hope it can helps

Neovide does not add, aalt itself, and searching through the Swash source code it doesn't seem to be doing that either.

But since this is clearly a Neovide/Swash bug, let's continue the discussion here
neovide/neovide#2786