You are not logged in.

#1 2021-01-28 17:22:25

TheStroyer
Member
Registered: 2018-08-28
Posts: 54

[SOLVED] fonts: The letter E is not showing up in github code files

When browsing github through firefox I noticed that capital letters E (and maybe some others) don't show up. I tested the same page through chromium and the letters looked just fine.
To work around this issue I can go to about:preferences > fonts and uncheck 'Allow pages to choose their own fonts, instead of your selections above`.

This is what it looks like
broken
with workaround:
not broken

Last edited by TheStroyer (2021-02-06 19:01:31)

Offline

#2 2021-01-28 17:50:10

loqs
Member
Registered: 2014-03-06
Posts: 18,605

Re: [SOLVED] fonts: The letter E is not showing up in github code files

Right click on the element -> inspect element -> Inspector -> Fonts -> Fonts Used,  what font is being used for the E?

Offline

#3 2021-01-30 23:32:52

TheStroyer
Member
Registered: 2018-08-28
Posts: 54

Re: [SOLVED] fonts: The letter E is not showing up in github code files

I found another test case in stackoverflow. Both github and stackoverflow are using Liberation Mono and Symbols-1000-em Nerd Font Complete. A quick seems to say that both fonts come from the main arch repos. I do have an AUR package with nerd fonts installed.

> pacman -Q ttf-nerd-fonts-symbols-mono ttf-meslo-nerd-font-powerlevel10k ttf-liberation
ttf-nerd-fonts-symbols-mono 2.1.0+36+gd0bf73a1-2
ttf-meslo-nerd-font-powerlevel10k 1.000-3
ttf-liberation 2.1.2-1

Offline

#4 2021-01-30 23:51:03

loqs
Member
Registered: 2014-03-06
Posts: 18,605

Re: [SOLVED] fonts: The letter E is not showing up in github code files

Remove the nerd font packages,  see if that is the cause of the issue,  install one those packages again see if it was that one e.t.c..

Offline

#5 2021-01-31 16:58:56

TheStroyer
Member
Registered: 2018-08-28
Posts: 54

Re: [SOLVED] fonts: The letter E is not showing up in github code files

The ttf-nerd-fonts-symbols-mono is definitely the problem here. Removing that package or the symlink 10-nerd-font-symbols.conf from /etc/fonst/conf.d fixes the bug.
Should I file a bug report on the package?

Offline

#6 2021-02-01 20:59:26

loqs
Member
Registered: 2014-03-06
Posts: 18,605

Re: [SOLVED] fonts: The letter E is not showing up in github code files

If the issue is in /etc/fonst/conf.d/10-nerd-font-symbols.conf then you should be able to override that configuration or do as you have done remove the file and then put in on NoExtract in pacman.conf.

Offline

#7 2021-02-06 19:00:58

TheStroyer
Member
Registered: 2018-08-28
Posts: 54

Re: [SOLVED] fonts: The letter E is not showing up in github code files

I think there must still be an issue with the package then, right? I'll submit an issue there.

Offline

#8 2021-02-13 23:09:06

loqs
Member
Registered: 2014-03-06
Posts: 18,605

Re: [SOLVED] fonts: The letter E is not showing up in github code files

'Symbols-1000-em Nerd Font Complete.ttf' from upstream only contains 'E' of that code block.  I would suggest filing an issue upstream https://github.com/ryanoasis/nerd-fonts to see if the glyph can be removed.
You could locally remove it using fontforge.

Offline

#9 2021-02-14 12:01:19

TheStroyer
Member
Registered: 2018-08-28
Posts: 54

Re: [SOLVED] fonts: The letter E is not showing up in github code files

Offline

Board footer

Powered by FluxBB