Skip to content

nf-mdi-sleep conflicts with Chinese characters #1070

@so1ar

Description

@so1ar

🗹 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    not-a-bugnot only wontfix but this is actually wanted

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions