Menlo-for-Powerline icon indicating copy to clipboard operation
Menlo-for-Powerline copied to clipboard

macOS 10.12: Arrow glyphs not aligned properly

Open d4rkd3v1l opened this issue 7 years ago • 7 comments

The arrow glyphs are not aligned correctly, see attached screenshot. I'm using Terminal with OMZ with powerlevel9k theme on macOS 10.12.2. But I think this really is a font issue. Thanks in advance for your help!

screen shot 2017-03-28 at 09 29 29

d4rkd3v1l avatar Mar 28 '17 07:03 d4rkd3v1l

I'm unable to reproduce this issue, sorry. I've tried both iTerm 2 and Terminal, using powerlevel9k. This is what I see: screenshot 2017-03-28 12 11 48 (Ninja edit: the last glyph on the left prompt is discolored under Terminal but not iTerm.) Now, the glyphs aren't aligned perfectly, but you'll note that in powerlevel9k's example gif, they're aligned in the "same" way, i.e. being 1 pixel too high on the top and bottom.

As to what's causing your issue, I'm not sure, but I don't think it's a font issue.

lxbrtsch avatar Mar 28 '17 16:03 lxbrtsch

Ok, thanks for your feedback. Really weird. Which macOS version are you running? I'll install the latest 10.12.4 later, and see if that changes something.

d4rkd3v1l avatar Mar 29 '17 09:03 d4rkd3v1l

Same on macOS 10.12.3 and 10.12.4. But I found out that the issue is affected by the font size. In general it just seems like the arrow glyphs are too big, see attached images.

font size 15pt: 15

font size 100pt: 100

the original image was at 13pt.

d4rkd3v1l avatar Mar 29 '17 19:03 d4rkd3v1l

I have a similar problem in iTerm2 with tmux:

iterm2-tmux-menlo

The separators are slightly oversized.

victorkristof avatar Jul 07 '17 21:07 victorkristof

Similar problem here in Terminal.app with Font Size 12, 13 and 14 (others not tested) screen shot 2017-08-20 at 23 58 47

DevWurm avatar Aug 20 '17 21:08 DevWurm

Fixed this by adjusting the vertical height as seen below (slighly above 100%):

image

satiani avatar Sep 13 '18 20:09 satiani

I encounter it as well with iterm2, macOS 10.14.5, 16 point size. Adjusting vertical spacing to 110 minimizes but does not eliminate the visual artifact.

edit: as I am using iterm2 I just use the built-in powerline glyphs, but the bug is there with the font :-/

brianm avatar Jun 05 '19 18:06 brianm