[Pkg-fonts-devel] Bug#974924: Plasma 5.19.5.x: Emojis in black and white ( not color and not displayed correctly)

Héctor Sales Llamas hectorvicentesales at gmail.com
Wed Nov 18 11:06:02 GMT 2020


It works!

$ sudo nano /etc/fonts/conf.avail/55-emoji-prepend.conf

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <match>
    <test name="prgname">
      <string>*ibus-ui-emojier-plasma*</string>
    </test>
    <edit name="family" mode="prepend" binding="weak">
      <string>Noto Color Emoji</string>
    </edit>
  </match>
</fontconfig>

After enable presets:

$ cd /etc/fonts/conf.d
$ ln -s ../conf.avail/55-emoji-prepend.conf

$ sudo reboot

Thank You!!

El mié., 18 nov. 2020 a las 6:14, Norbert Preining (<norbert at preining.info>)
escribió:

> Hi Héctor,
>
> I suggest closing this bug, since it is a configuration issue:
>
> On Mon, 16 Nov 2020, Héctor Sales Llamas wrote:
> > When I press the combination keys "Meta + ." (Plasma 5.19.5.x) the emoji
> > selector is launched and these are shown in black and white and many of
> them
> > are not displayed correctly. I have installed the package:
> "fonts-noto-color-
> > emoji" and "fonts-noto-*"
>
> Please show the output of
>         fc-match --verbose emoji
> because "emoji" is the font requested.
>
> I guess you have some other emoji font installed with a higher priority,
> and that font only carries BW emojis. Another option is to de-install
> the conflicting font, which you have found via the fc-match call.
>
> The below code is for fonts.conf is crude and should NOT be used because
> it changes
> serif to Noto sans, which is somehow ... well ...broken.
>
> Better solution is given on this page:
>         https://wiki.archlinux.org/index.php/font_configuration
> Quoting from there
> *******
> Force emoji font
> Some software may lacks proper Emoji font fallback support.
>
> To force emoji presentation create emoji font fallback preset for your
> application, to enable see #Presets. Replace application and Noto Color
> Emoji with your application and preferred emoji font respectively:
>
> /etc/fonts/conf.avail/55-emoji-prepend.conf
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
> <fontconfig>
>   <match>
>     <test name="prgname">
>       <string>application</string>
>     </test>
>     <edit name="family" mode="prepend" binding="weak">
>       <string>Noto Color Emoji</string>
>     </edit>
>   </match>
> </fontconfig>
> *****
>
>
> Hope that helps.
>
> Best
>
> Norbert
>
> --
> PREINING Norbert                              https://www.preining.info
> Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
> GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-fonts-devel/attachments/20201118/3c3916b7/attachment-0001.html>


More information about the Pkg-fonts-devel mailing list