这是indexloc提供的服务,不要输入任何密码
Skip to content

Powerline glyphs have smaller height than the character box #843

@mux

Description

@mux

🗹 Requirements

  • I have searched the issues for my issue and found nothing related and/or helpful
  • I have searched the FAQ for help
  • I have searched the Wiki for help

I found a number of seemingly related issues but unless I missed something, none of them match my specific problem.

🎯 Subject of the issue

Experienced behavior:
Some powerline glyphs seem to be smaller than the box height. This is most annoying with the arrow glyphs used to separate sections in vim-airline (both left and right). Additionally, the left arrows also show a one pixel vertical line with a darker color.

It seems to be related to the line spacing setting in the font selection window. It is 1 by default, and the issue is exacerbated if I increase it, and disappears if I set it down to about 0.8 (but then the window is nearly unreadable of course). The bigger the font, the more visible the problem is - I used 14pt in my screenshots.

It also seems to be an issue with the vertical lines characters used in the fortune chat bubble of vim-startify.

Expected behavior:
I would expect those glyphs to align all the way to the top, but there is a visible gap there instead.

Example symbols:
 and  (separation arrows)
│ (maybe)

🔧 Your Setup

  • Fira Code Regular Nerd Font Complete Mono.ttf

I tried many other Fira Code variants (Regular / Retina, Mono or not, otf / ttf) and they all show the same problem.

  • Downloaded from nerdfonts.com
  • Terminal.app
  • OS X 12.4

★ Screenshots (Optional)

Screen Shot 2022-06-11 at 11 13 32 AM
Screen Shot 2022-06-11 at 11 34 27 AM
Screen Shot 2022-06-11 at 11 20 13 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions