-
Notifications
You must be signed in to change notification settings - Fork 46
[Firefox 55] gfx.font_rendering.fontconfig.fontlist.enabled workaround no longer works #83
Comments
Yes. I'm not sure of a solution for FF 55+ right now. |
What is the cause of the problem actually? Why this option solved the problem? Without it, the font appears to be bold. But is it still the Bitstream Vera font? Why the bold variant is showed instead of the regular one? |
In fact, that parameter was removed in Firefox 55. So this won't work anymore. |
I have the same problem here! So what can i do? Because i use Dejava fonts for my KDE Desktop :S |
Same issue here, driving me mad. How do I remove the font altogether? |
I finally managed to make the fonts identical to when the <?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>EmojiOne Color</family>
<family>Bitstream Vera Sans</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>EmojiOne Color</family>
<family>Bitstream Vera Serif</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>EmojiOne Color</family>
<family>Bitstream Vera Sans Mono</family>
</prefer>
</alias>
<!-- Add emoji generic family -->
<alias binding="strong">
<family>emoji</family>
<default>
<family>EmojiOne Color</family>
</default>
</alias>
<!-- Alias requests for the other emoji fonts -->
<alias binding="strong">
<family>Apple Color Emoji</family>
<prefer>
<family>EmojiOne Color</family>
</prefer>
<default>
<family>sans-serif</family>
</default>
</alias>
<alias binding="strong">
<family>Segoe UI Emoji</family>
<prefer>
<family>EmojiOne Color</family>
</prefer>
<default>
<family>sans-serif</family>
</default>
</alias>
<alias binding="strong">
<family>Noto Color Emoji</family>
<prefer>
<family>EmojiOne Color</family>
</prefer>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig> The result: $ fc-match -s sans | head -n3
Vera.ttf: "Bitstream Vera Sans" "Roman"
EmojiOneColor-SVGinOT.ttf: "EmojiOne Color" "Regular"
DejaVuSans.ttf: "DejaVu Sans" "Book" This can also be shortened to: <?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>EmojiOne Color</family>
<family>Bitstream Vera Sans</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>EmojiOne Color</family>
<family>Bitstream Vera Serif</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>EmojiOne Color</family>
<family>Bitstream Vera Sans Mono</family>
</prefer>
</alias>
<match>
<test name="family" compare="contains">
<string>emoji</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>EmojiOne Color</string>
</edit>
</match>
</fontconfig> |
I confirm the fix works, so I created the patches for both emojione and twitter emoji font packages and fixed in Gentoo. Now the changes were upgraded for both packages in my repo. |
@eosrei Not exactly, but I patched the sources on my Gentoo overlay. However, I can attach both patches if you want them. Also you can check them if you find some observations. |
Would these patches improve the project? I would be happy to apply them and make a PR, or anyone could add them with |
Font Version: 1.3
Operating System: Arch Linux
The gfx.font_rendering.fontconfig.fontlist.enabled flag for about:config in firefox is no longer supported in the latest stable build of firefox (55.0-1). Related changes can be found here:
https://bugzilla.mozilla.org/show_bug.cgi?id=1119128
https://bugzilla.mozilla.org/show_bug.cgi?id=1285533
Is this workaround officially dead?
The text was updated successfully, but these errors were encountered: