Comments (9)
Do you have some application installed to test emojis in Gnome notifications? I'm using Telegram Desktop with native notifications enabled in the settings. I remember that emojis didn't work after installing fontconfig-enhanced-defaults
and fontconfig-font-replacements
, but I made some changes since then and now they do work again. The changes I made were not meant to fix the emoji issue, but if you could confirm that emojis don't appear in Gnome notifications on your system I might be able to help you. However, I must note that not all emojis are displayed in color on this page on my system, so some font replacements seem to interfere with this.
from fedora-better-fonts.
What might just be enough is editing /etc/fonts/conf.d/52-latin-free.conf
to include <family>emoji</family>
as the second option for serif and non-serif. This should default to Noto Color Emoji (at least it does on my system). Otherwise just set it to <family>Noto Color Emoji</family>
or your personal favorite. Just don't put it as the first option, as this might give issues. The relevant part:
<!-- ## serif ## -->
<alias>
<family>serif</family>
<prefer>
<family>Noto Serif</family>
<family>emoji</family>
<family>DejaVu Serif</family>
<family>Tinos</family>
<family>Liberation Serif</family>
<family>Nimbus Roman</family>
</prefer>
</alias>
<!-- ## sans-serif ## -->
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans</family>
<family>emoji</family>
<family>Arimo</family>
<family>Liberation Sans</family>
<family>DejaVu Sans</family>
<family>Nimbus Sans</family>
<family>Open Sans</family>
</prefer>
</alias>
from fedora-better-fonts.
Thanks! Unfortunately, no dice. I still see no emojis in Gnome itself (tried the Characters app and GPaste's gnome shell extension), just blank space.
What's interesting is that I see all colored emojis in the page you linked when I have this installed. When I don't, they're all black and white.
So, the current status is:
- With this installed, I see no color emojis (just blank space) in Gnome apps, colored emojis here.
- With this uninstalled, I see color emojis in Gnome apps, black and white emojis here.
Very unsure what's going on...
from fedora-better-fonts.
What happens if you remove fontconfig-enhanced-defaults
? Because I did those enhancements myself, so that might be it. Maybe itβs the setting for bitmap fonts. I'll tell you what to change if it works.
from fedora-better-fonts.
Yeah, removing fontconfig-enhanced-defaults
brings back emojis in Gnome apps
from fedora-better-fonts.
Nice. What you're missing now is proper cleartype-like rgb antialiasing. It's either disabled, or you should see obvious color fringing around text edges. The easiest way to enable it again is to install fontconfig-enhanced-defaults
again and edit /etc/fonts/conf.d/10-enhanced-defaults.conf
by removing this part:
<edit mode="assign" name="embeddedbitmap">
<bool>false</bool>
</edit>
This is not what I did, but that would require creating multiple files and symbolic links, so this is easier to explain. I think you can do ln -s /usr/share/fontconfig/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d/
to replace the missing part without losing emoji support but it's not strictly necessary. To undo, simply run rm /etc/fonts/conf.d/70-no-bitmaps.conf
. Fedora does this per font in 25-no-bitmap-fedora.conf
instead of for all fonts as 70-no-bitmaps.conf
does.
from fedora-better-fonts.
Thanks @makruiten! That works. I also symlinked 70-no-bitmaps.conf
, though I am unsure how this affects the end result. Chrome still uses black & white emojis, but that was the case before.
Edit: Switching the emoji font fixes Chrome, so all is working. Thanks again!
from fedora-better-fonts.
I have removed 10-enhanced-defaults.conf
file from fontconfig-enhanced-defaults
package and replaced it with symlinks to 10-sub-pixel-rgb.conf
, 11-lcdfilter-default.conf
and 70-no-bitmaps.conf
. It's a bit hacky (I'm providing symlinks to files from fontconfig
package) but it seems to work.
Could you please test new package to see if it fixes your problem?
from fedora-better-fonts.
Thanks @silenc3r. Reverted all my changes to try it out and I can confirm everything is working well in the latest version.
from fedora-better-fonts.
Related Issues (20)
- Fedora 29 update dependency problem HOT 1
- Question: Recommended way to modify replacements?
- Fedora 30 update problem after upgrading liberation-fonts to 2.00.5-3.fc30.noarch HOT 3
- Upstream changing, making this part of Fedora? HOT 2
- Symbol fonts: add or prioritize Noto Sans Symbols
- CentOS 8 build HOT 4
- is this project still relevant for F33? HOT 9
- Use new Fedora font build specifications
- failing in f31 HOT 2
- The repo link is offline HOT 2
- Missing archivo-black-fonts on Fedora 34 HOT 2
- antialiasing attribute in xsettings not found on F34
- fontconfig-enhanced-defaults without replacements viable? HOT 1
- Change "system-ui" to something other than Cantarell
- Reverting changes?
- The `ubuntu-fonts` package license is not allowed on Fedora COPR
- Better fonts in Silverblue HOT 3
- Fedora 35 beta + Python error HOT 5
- Missing archivo-black-fonts on Fedora 35 HOT 5
- Still see the old fonts in tweaks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fedora-better-fonts.