Bug 428074 - Emoji selector square emojis
Summary: Emoji selector square emojis
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Emoji Selector (other bugs)
Version First Reported In: 5.19.5
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-21 20:40 UTC by medin
Modified: 2020-10-26 11:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Emoji selector square emojis (151.81 KB, image/png)
2020-10-21 20:40 UTC, medin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description medin 2020-10-21 20:40:25 UTC
Created attachment 132619 [details]
Emoji selector square emojis

I have both noto-fonts and noto-fonts-emoji packages installed but when I launch Emoji Selector I see some squares. See attached image for more info.

Operating System: Manjaro Linux
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1
Kernel Version: 5.4.72-1-MANJARO
OS Type: 64-bit
Comment 1 David Edmundson 2020-10-25 23:51:55 UTC
Setup issue.

See the arch wiki on emojis, you might need fontconfig changes.
Comment 2 medin 2020-10-25 23:58:43 UTC
It's was working, only after latest update it stopped working.
Comment 3 medin 2020-10-26 11:04:41 UTC
(In reply to David Edmundson from comment #1)
> Setup issue.
> 
> See the arch wiki on emojis, you might need fontconfig changes.

Sorry, you are right, I searched how to add emoji font config file and found that I should create a new file called local.conf inside /etc.fonts folder with current content:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <alias>
   <family>sans-serif</family>
   <prefer>
     <family>Noto Sans</family>
     <family>Noto Color Emoji</family>
     <family>Noto Emoji</family>
     <family>DejaVu Sans</family>
   </prefer> 
 </alias>
 <alias>
   <family>serif</family>
   <prefer>
     <family>Noto Serif</family>
     <family>Noto Color Emoji</family>
     <family>Noto Emoji</family>
     <family>DejaVu Serif</family>
   </prefer>
 </alias>
 <alias>
  <family>monospace</family>
  <prefer>
    <family>Noto Mono</family>
    <family>Noto Color Emoji</family>
    <family>Noto Emoji</family>
   </prefer>
 </alias>
</fontconfig>

And after running fc-cache -fv the emoji selector works again.
Thanks for the info :)