I'm using 4k display with gnome, and font scaling set to 1.6 in gnome-tweaks
Looks like, for some reason firefox renders fonts differently when using web fonts and system fonts.
After all this investigation, i'm not so sure i should post it here, maybe firefox bug tracker is best place for this. But, #261 is resolved, so maybe this can be resolved too. Or maybe you can provide some additional feedback so i can include it in bug report to Firefox.
I found #261, and i hope this is right place to report similar issue.
In gitlab code reviews symbol
:=
is rendered without:
at small font sizes (13px at my system).Gitlab produces following html for this:
And you can observe the issue here (font needs to be installed on the system, i'm using arch linux with
ttf-jetbrains-mono 2.304-1
):https://jsfiddle.net/last_partizan/p4832tsh/5/
But, after some investigation, i found out when using webfonts, and not system one, issue is not reproduced:
https://jsfiddle.net/last_partizan/p4832tsh/7/
So, i created following html file and tested it locally:
Font file used (matches md5 sum from downloaded release JetBrainsMono-2.304.zip):
And it looks like this on my system:
Other information that may be relevant:
Looks like, for some reason firefox renders fonts differently when using web fonts and system fonts.
After all this investigation, i'm not so sure i should post it here, maybe firefox bug tracker is best place for this. But, #261 is resolved, so maybe this can be resolved too. Or maybe you can provide some additional feedback so i can include it in bug report to Firefox.