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

Monaco Nerd Font display is not normal #333

Closed
glepnir opened this issue Mar 12, 2019 · 15 comments
Closed

Monaco Nerd Font display is not normal #333

glepnir opened this issue Mar 12, 2019 · 15 comments

Comments

@glepnir
Copy link

glepnir commented Mar 12, 2019

Environment

  • mac os 10.13.6

terminal

  • iterm 2

Neovim

  • neovim 0.3.4

Problem

@ryanoasis Hi your issue template is too complicated for me.Please allow me to break it.i use this monaco nerd font. Is its height abnormal? How to solve it? like this pic
13
I noticed that this problem has been around for a long time. I asked a question in this issue. Unfortunately, I didn't get your reply. Is it because the copyright of monaco's font belongs to Apple company and it makes it difficult to fix it?

@ryanoasis
Copy link
Owner

Thanks for the report

@glepnir
Copy link
Author

glepnir commented Mar 15, 2019

@ryanoasis thanks for your work

@glepnir
Copy link
Author

glepnir commented Jun 21, 2019

@ryanoasis hi any update?

@ryanoasis
Copy link
Owner

@taigacute Sorry no not yet. Trying to catch up with everything

@glepnir glepnir closed this as completed Apr 20, 2020
@ryanoasis
Copy link
Owner

@glepnir Just wondering if this was solved somehow or you just moved on 😞 ?

@fragilelambda
Copy link

@ryanoasis This issue happens on mac too, any ideas to fix it?

@ranelpadon
Copy link

ranelpadon commented Aug 12, 2020

On my end, figured-out that in iTerm2, I could combine Monaco as main text font with Meslo Nerd Font (or any nerd font) as the icon font. Then, adjusted some property of Monaco (e.g. the 94 value in the screenshot), so that the 2 fonts will align properly:

Screen Shot 2020-08-13 at 6 47 31 AM

Screen Shot 2020-08-13 at 6 50 44 AM

which is comparable to when I'm using purely the Meslo Nerd Font:
OMZ

@fingertap
Copy link

OMZ

@ranelpadon What is your colorscheme? What produces that Apple icon?

@ranelpadon
Copy link

@fingertap I'm using Alacritty now, not iTerm2. The big Apple logo is from neofetch, the small Apple icon in the command prompt is from Oh My Zsh framework.

@fingertap
Copy link

Thanks.

@Finii
Copy link
Collaborator

Finii commented Apr 25, 2022

Is the issue that the triangular thing is 'too big' relative to the 'just yellow' on its left?

image

I guess that should have been handled by #593.

If it is still a problem, please specify which font file and download link to that did you use.
Could be that some fixing-PRs are even not merged yet, hmm.

@fingertap
Copy link

For me, changing the fontsize solves the problem. For iterm2, I have to use fontsize=13 to get a perfect appearance. For smaller font, the icons seems not synchronize well with the text:
↓ fontsize = 12
image
↓ fontsize = 14
image

@Finii
Copy link
Collaborator

Finii commented Apr 25, 2022

Hmm, some small-font rendering problems will be solved by #761.
Will have a look.

Ah, I even see problems with minus and greater-then -> at smallish font sizes. This is probably also what you see.

Unfortunately fontforge is agnostic to the critical setting, so I can not check quickly.

@Finii
Copy link
Collaborator

Finii commented Apr 25, 2022

Hmm, Monaco has a rather unproblematic PPEM.

image

Menlo has a PPEM of 8, which is preserved by fontforge.

But then there are other flags that concern small rendering, maybe they are wrong. The picked commits also handle ppem_to_int ... Maybe worth a try for you, to see if that fixes it.

@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 Mar 12, 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

6 participants