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

nf-mdi-sleep conflicts with Chinese characters #1070

Closed
3 tasks done
so1ar opened this issue Jan 24, 2023 · 2 comments
Closed
3 tasks done

nf-mdi-sleep conflicts with Chinese characters #1070

so1ar opened this issue Jan 24, 2023 · 2 comments
Labels
not-a-bug not only wontfix but this is actually wanted

Comments

@so1ar
Copy link

so1ar commented Jan 24, 2023

🗹 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

🎯 Subject of the issue

I am using Arch Linux and installed Sarasa-Gothic along side nerd-fonts from Arch's official repo, and configured the fontconfig like this:

  <!-- Default monospace fonts-->
  <match target="pattern">
    <test name="family">
      <string>monospace</string>
    </test>
    <edit name="family" mode="prepend" binding="strong">
      <string>Sarasa Mono SC</string>
      <string>Symbols Nerd Font Mono</string>
    </edit>
  </match>

In the terminal the Glyph displays fine except nf-mdi-sleep, which is conflicts with a Chinese character.

Experienced behavior:

The glyph displays as a Chinese character.
1674559271_grim

Expected behavior:

The glyph should looks like this.

1674559404_grim

Example symbols:

🔧 Your Setup

  • Which font are you using (e.g. Anonymice Powerline Nerd Font Complete.ttf)?
    • Please give the full filename sarasa-semibold.ttc
  • Where did you get the file from (download link, self patched, source downloaded from link...)
    • https://archlinux.org/packages/community/any/ttf-sarasa-gothic/ and https://archlinux.org/packages/community/any/ttf-nerd-fonts-symbols-2048-em-mono/
  • Which terminal emulator are you using (e.g. iterm2, urxvt, gnome, konsole)?
    • Alacritty
  • Are you using OS X, Linux or Windows? And which specific version or distribution?
    • Latest version of Arch Linux

★ Screenshots (Optional)

@Finii
Copy link
Collaborator

Finii commented Jan 24, 2023

nf-mdi- is in the wrong unicode block (i.e. the one reserved for Chinese glyphs.
You need to switch to the nf-md- code.

image

See also

The nf-mdi- will be dropped with Nerd Fonts v3.0.0, users need to switch to nf-md-.

@Finii Finii closed this as completed Jan 24, 2023
@Finii Finii added the not-a-bug not only wontfix but this is actually wanted label Jan 24, 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
not-a-bug not only wontfix but this is actually wanted
Projects
None yet
Development

No branches or pull requests

2 participants