Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Powerline glyphs have smaller height than the character box #843

Closed
3 tasks done
mux opened this issue Jun 11, 2022 · 4 comments
Closed
3 tasks done

Powerline glyphs have smaller height than the character box #843

mux opened this issue Jun 11, 2022 · 4 comments

Comments

@mux
Copy link

mux commented Jun 11, 2022

🗹 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

@mux
Copy link
Author

mux commented Jun 11, 2022

The height issues don't happen with iTerm 2, without even using the built-in powerline glyphs. However the darker vertical lines after left arrows persists.

@Finii
Copy link
Collaborator

Finii commented Jun 20, 2022

Downloaded from nerdfonts.com

A lot problems are solved in the 2.2.0 Release Candidate, so maybe you want to use https://github.com/ryanoasis/nerd-fonts/releases/tag/2.2.0-RC instead. That would be the powerline triangular things.

The gaps with the vertical bars ... hmm. It could be that out overlap causes that issue, need to examine that.

The faint vertical lines should be fixed with #780.

@Finii
Copy link
Collaborator

Finii commented Jan 27, 2023

I believe this is the HHEA vs TYPO vs WIN problem. See

@Finii Finii closed this as completed Jan 27, 2023
@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a new issue, complete the issue template with all the details necessary to reproduce, and mention this issue as reference.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants