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

Discord icon is replaced with Urdu / Arabic symbol #614

Closed
KSPAtlas opened this issue Apr 28, 2021 · 9 comments
Closed

Discord icon is replaced with Urdu / Arabic symbol #614

KSPAtlas opened this issue Apr 28, 2021 · 9 comments
Milestone

Comments

@KSPAtlas
Copy link

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
Copy link
Author

Funnily enough, It works on ST.

@luizfx22
Copy link

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

@JamesMowery
Copy link

JamesMowery commented Sep 3, 2021

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.

@ryanoasis ryanoasis added this to the v3.0.0 milestone Dec 14, 2021
@0xBl4nk
Copy link

0xBl4nk commented Jan 31, 2022

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.

@Finii
Copy link
Collaborator

Finii commented Feb 1, 2022

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
Copy link
Collaborator

Finii commented Feb 1, 2022

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
Copy link
Collaborator

Finii commented Feb 1, 2022

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
Copy link
Collaborator

Finii commented Apr 30, 2023

Release is in repo, release as packages pending.

@Finii Finii closed this as completed Apr 30, 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 Oct 30, 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