powerline / fonts

Patched fonts for Powerline users.
25.75k stars 3.19k forks source link

Patched Menlo and Meslo erratic behaviour whenever "f" is followed by an "i" or "l" #22

Open totte opened 11 years ago

totte commented 11 years ago

snapshot

Experienced in Konsole, Vim, Vim-Qt, Kate and more...

Wherever an f is followed by an i or l this peculiar glitch occurs. It looks as if the font is changed for another and... I don't know? The attached image depicts a patched Meslo with the glitch. Notice that moving the cursor to one of the characters will make them display correctly until the cursor is moved again. The same thing happens with the patched Menlo font but neither of them does this in their original, unpatched form. Also, as far as I can tell this only occurs with the f, i and l characters and nothing else in A-Z, a-z or 0-9.

otommod commented 11 years ago

Looks like the ligatures are used for some reason.

wrtsprt commented 11 years ago

same on Mac OS X 10.8.4, iTerm2 Build 1.0.0.20130613

wrtsprt commented 11 years ago

This doesn't seem to be an issue with the powerline fonts! I tried pure Menlo: same problem. In the iterm2 project (OS X only) someone opened an issue for that: http://code.google.com/p/iterm2/issues/detail?id=2497.

stephank commented 11 years ago

Huh? Then we're getting different results. Switching from Menlo for Powerline back to regular Menlo fixed it for me.

Something did change in iTerm2's font rendering, though. An update was released hours ago I believe? Font rendering is slightly different, and I was using Menlo for Powerline before without the issue.

So I was under the impression this was a combination of things.

NeoPolus commented 8 years ago

I have the same problem, "fl" and "fi" use the same space as a single character, so it's no longer a 'fixed-width' font :(

20160329-112249-01

The problem exists in both Menlo and Meslo powerline fonts, both in the terminal and Gedit (I'm using Linux Mint 17.3)