ryanoasis / nerd-fonts

Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more
https://NerdFonts.com
Other
53.99k stars 3.63k forks source link

Powerline glyph scale problem with MesloLGS #1230

Closed Finii closed 1 year ago

Finii commented 1 year ago
          Hi everyone!

Can you help me to find proper replacement for this icons? It seems that they aren't properly scaled anymore for vim/tmux configs.

This is what I have with MesloLGS Nerd Font Mono 3.0: image

This is how it should look: image

Here are the glyphs that don't work correctly anymore:  

To be more precise, here's the theme which have this bug after moving to NF 3.0: https://github.com/jimeh/tmux-themepack/tree/master

Maybe someone already solve this problem?

Cheers!

Originally posted by @lazzzaroni in https://github.com/ryanoasis/nerd-fonts/issues/1190#issuecomment-1543656441

Finii commented 1 year ago

Checking one of the MesloLG S fonts and it looks good:

image

and all three look same-sized:

image

What I see from your image is that the 'peak' of the triangle is not even centered on the x-height, and not the cap-height and not the (what it should be) cell-height.

image

My hunch is that you use the wrong font, which is unpatched (maybe unpatched Meslo) and the E0B0 comes from some random other font via font-fallback. This certainly looks like that.

Please double check that you select the correct font - the Family name changed with v3.0.0. As you did not specify the terminal application I do not know if you have a font pulldown or some vintage stype textual config file where you need to enter the correct Family name (yes, I think terminals with these should be a thing of the past :grimacing: ).

For your reference:

$ fontforge bin/scripts/name_parser/query_names patched-fonts/Meslo/S/Regular/MesloLGSNerdFont* 2>/dev/null | cut -b 125-254

| Fullname                                                        |  | Family                                                 |  |
|-----------------------------------------------------------------|--|--------------------------------------------------------|--|
| MesloLGS Nerd Font Mono Regular                                 |31| MesloLGS Nerd Font Mono                                |23|
| MesloLGS Nerd Font Propo Regular                                |32| MesloLGS Nerd Font Propo                               |24|
| MesloLGS Nerd Font Regular                                      |26| MesloLGS Nerd Font                                     |18|
Finii commented 1 year ago

Closing due to inactivity for two weeks.

The E0B0 and E0B2 have not been changed with v3.0.0. There might be an issue with the nf-md- icons and the tmux theme, but that is not reported here.

As this is no regular issue all the (needed) questions/information of the Issue template is missing.

Please reopen if problem persists and you have more details.

github-actions[bot] commented 10 months ago

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.