nerd-fonts icon indicating copy to clipboard operation
nerd-fonts copied to clipboard

glyph does not fill whole height, is it the problem of my terminal?

Open Sejen27 opened this issue 2 years ago • 11 comments

Environment OS : Ubuntu 23.10 Terminal : tmux, GNOME Terminal 3.49.92, GNOME 45 Font : Hack Nerd Font v3.1.1

2023-12-03 16-34-15 I have tried some old versions of the Hack Nerd Font at 2020 and 2021 year, but this problem still exists. What should I do to fix this ?

Sejen27 avatar Dec 04 '23 07:12 Sejen27

This looks bad, sorry to hear that.

I guess you downloaded the release artifact, let me try...

Finii avatar Dec 04 '23 09:12 Finii

Can not reproduce.

image

This could happen if you do not select Hack Nerd Font as your font in Terminal and the glyphs come in just via font-fallback. Please show your settings.

Finii avatar Dec 04 '23 09:12 Finii

Maybe you increase the cell spacing height?

image

Finii avatar Dec 04 '23 09:12 Finii

@Finii Thank you for your reply ! Below is my settings: Screenshot from 2023-12-04 18-59-36 I found that it was the language I used (Chinese) that caused the problem, when I change language to English, problem solved. Is there a solution if I use Chinese?

Sejen27 avatar Dec 04 '23 11:12 Sejen27

Hmm, what does it mean 'use Chinese', concrete? What would I need to do to reproduce?

I guess you use some Chinese glyphs that come in via font-fallback? What is your Chinese font? Can you paste an example as text.

Edit: Fix typo, add second paragraph

Finii avatar Dec 04 '23 12:12 Finii

The system language My chinese font is "Microsoft Yahei" (msyh.ttc, copied from Windows 10)

image image

Sejen27 avatar Dec 04 '23 13:12 Sejen27

Hi @Finii , are the sizes of these glyph normal? Are they a litter small? Screenshot from 2023-12-05 11-24-02 image

Sejen27 avatar Dec 05 '23 03:12 Sejen27

Are they a litter small?

The icons are one 'cell' wide, i.e. the same width as the M. Try the Hack Nerd Font (without Mono) for bigger icons.

Finii avatar Dec 05 '23 08:12 Finii

Are they a litter small?

The icons are one 'cell' wide, i.e. the same width as the M. Try the Hack Nerd Font (without Mono) for bigger icons.

Thank You

Sejen27 avatar Dec 05 '23 09:12 Sejen27

The system language My chinese font is "Microsoft Yahei" (msyh.ttc, copied from Windows 10)

image image

@Finii Did you reproduce it?Is there a solution?

Sejen27 avatar Dec 05 '23 09:12 Sejen27

This week I'm on a conference, will try to find some time experimenting. I have no idea just so.

Sent from Nine


From: Sejen27 @.***> Sent: Tuesday, December 5, 2023 10:39 To: ryanoasis/nerd-fonts Cc: Fini; Mention Subject: Re: [ryanoasis/nerd-fonts] glyph does not fill whole height, is it the problem of my terminal? (Issue #1450)

The system language My chinese font is "Microsoft Yahei" (msyh.ttc, copied from Windows 10)

@Finii Is there a solution? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Finii avatar Dec 05 '23 13:12 Finii

Has the same issue, the system language set to English then it works. Has any solution to support Chinese System Language?

vegawong avatar Feb 28 '24 02:02 vegawong

Sorry I can not reproduce this. Maybe try another terminal. Tilix, Kitty?

Finii avatar Mar 16 '24 00:03 Finii