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

Discord icon is replaced with Urdu / Arabic symbol

Open KSPAtlas opened this issue 4 years ago • 7 comments

The discord icon in Literation Mono Complete nerd font is replaced with a symbol.

I use Nerd fonts on DWM and I love it! However, the discord icon is replaced with a strange symbol as attached. screenshot ur Setup

🔧 Your setup

  • Which font are you using (e.g. Anonymice Powerline Nerd Font Complete.ttf)? Literation Mono Nerd Font Complete.ttf
  • Which terminal emulator are you using (e.g. iterm2, urxvt, gnome, konsole)? st, but this is for DWM.
  • Are you using OS X, Linux or Windows? And which specific version or distribution? Arch Linux

★ Optional

KSPAtlas avatar Apr 28 '21 17:04 KSPAtlas

Funnily enough, It works on ST.

KSPAtlas avatar Apr 28 '21 17:04 KSPAtlas

For me too, I'm using FiraCode NF and it's an Arabic symbol. I think this is an issue with all fonts.

luizfx22 avatar May 21 '21 23:05 luizfx22

Seeing this as well. It shows up fine in VIM / zsh, but when I use this with Qtile window manager (which uses Python), I see the same symbol.

JamesMowery avatar Sep 03 '21 18:09 JamesMowery

The discord icon in Literation Mono Complete nerd font is replaced with a symbol.

I use Nerd fonts on DWM and I love it! However, the discord icon is replaced with a strange symbol as attached. screenshot

For me too, I'm using FiraCode NF and it's an Arabic symbol. I think this is an issue with all fonts.

Switch to another font from the nerd-fonts group and it will work, some don't load on discord, I recommend "Source Code Pro". Hope this helps the next ones who look for the error.

0xBl4nk avatar Jan 31 '22 18:01 0xBl4nk

Do you mean U_FB6E?

It certainly is in the font: image

Unfortunately the icon sits on a codepoint that is reserved for arabic glyphs. Anyhow, if you select Literation as you main font it should use the glyphs embedded there. What you see looks like font fallback.

Are you sure you set the main font to Literation?

To help you we would need more details on what you use and how. I was never on Discord. Is there a terminal based client or something? What do I need to reproduce it, and which steps do I need to take for a from-scratch setup?

Finii avatar Feb 01 '22 07:02 Finii

Ah, the suckless window manager... ~~How do I set the font it shall use? :->~~

How does your config.h looks like? https://dwm.suckless.org/customisation/font/

Finii avatar Feb 01 '22 07:02 Finii

Hmm, more then 30 years ago I could work with this X11 stuff ;-)

I can't remember how the fontsel stuff worked, but if the information in the font file is honored, it is correct to NOT display the discord icon but search for some fallback font.

FB6E is in Arabic Presentation Forms A, which the font claims it does not contain (blue items are active):

image

I could prepare a font that has that set, if you are willing to try it out? There is the possibility that fontconfig uses that information and then the behavior you see is justified. The change afterwards would be trivial.

Edit: (We do not set the contained charsets, also #365)

Finii avatar Feb 01 '22 08:02 Finii

Release is in repo, release as packages pending.

Finii avatar Apr 30 '23 15:04 Finii

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[bot] avatar Oct 30 '23 00:10 github-actions[bot]