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

Norbert Preining preining at logic.at
Wed Nov 18 11:52:48 GMT 2020


Hi Hector,

Good to hear that it worked, but it would be still interested to see the output of the fc-match command before adding the new config file. Maybe the font is requesting too high a priority.

Thanks

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



Nov 18, 2020 20:09:24 Héctor Sales Llamas <hectorvicentesales at gmail.com>:

> 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
> _______________________________________________
> Pkg-fonts-devel mailing list
> Pkg-fonts-devel at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-fonts-devel



More information about the Pkg-fonts-devel mailing list