[Pkg-fonts-devel] Bug#974924: 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 12:03:05 GMT 2020


Ok, here the output  without the file *55-emoji-prepend.conf*

hector:~$ fc-match --verbose emoji
> Pattern has 42 elts (size 48)
>        family: "Noto Color Emoji"(s)
>        familylang: "en"(s)
>        style: "Regular"(s)
>        stylelang: "en"(s)
>        fullname: "Noto Color Emoji"(s)
>        fullnamelang: "en"(s)
>        slant: 0(i)(s)
>        weight: 80(f)(s)
>        width: 100(f)(s)
>        size: 104,64(f)(w)
>        pixelsize: 109(f)(s)
>        spacing: 100(i)(w)
>        foundry: "GOOG"(w)
>        antialias: True(w)
>        hintstyle: 1(i)(w)
>        hinting: True(w)
>        verticallayout: False(s)
>        autohint: False(s)
>        globaladvance: True(s)
>        file: "/usr/share/fonts/truetype/noto/NotoColorEmoji.ttf"(w)
>        index: 0(i)(w)
>        outline: False(w)
>        scalable: True(w)
>        dpi: 75(f)(s)
>        rgba: 1(i)(w)
>        scale: 1(f)(s)
>        matrix: [0,114679 0; 0 0,114679](w)
>        charset:
>        0000: 00000000 03ff0409 00000000 00000000 00000000 00004200
> 00000000 00000000
>        0020: 00002000 10000000 00000200 00000000 00000000 00000000
> 00000000 00000008
>        0021: 00000000 02000004 00000000 00000000 03f00000 00000600
> 00000000 00000000
>        0023: 0c000000 00000100 00000000 00000000 00000000 00000000
> 00008000 070ffe00
>        0024: 00000000 00000000 00000000 00000000 00000000 00000000
> 00000004 00000000
>        0025: 00000000 00000000 00000000 00000000 00000000 00400c00
> 00000001 78000000
>        0026: 2132401f 0700c44d 800fff05 c8000169 1afc0000 60030c83
> 001ac130 27bf0600
>        0027: 2054bf24 00180102 00b85090 00000018 00e00000 80010002
> 00000000 00000000
>        0029: 00000000 00300000 00000000 00000000 00000000 00000000
> 00000000 00000000
>        002b: 180000e0 00000000 00210000 00000000 00000000 00000000
> 00000000 00000000
>        0030: 00000000 20010000 00000000 00000000 00000000 00000000
> 00000000 00000000
>        0032: 00000000 00000000 00000000 00000000 02800000 00000000
> 00000000 00000000
>        01f0: 00000010 00000000 00000000 00000000 00000000 00000000
> 00008000 00000000
>        01f1: 00000000 00000000 00000000 c0030000 07fe4000 00000000
> 00000000 ffffffc0
>        01f2: 04000006 07fc8000 00030000 00000000 00000000 00000000
> 00000000 00000000
>        01f3: ffffffff fffffff3 ffffffff ffffffff cecfffff ffffffff
> ffffffff ffb9ffff
>        01f4: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
> ffffffff bfffffff
>        01f5: ffffffff 3fffffff ffff7e00 07f980ff 00613c80 10060130
> 700e001c fc08810a
>        01f6: ffffffff ffffffff 0000ffff 00000000 ffffffff ffffffff
> 00e7f83f 1ff91a3f
>        01f7: 00000000 00000000 00000000 00000000 00000000 00000000
> 00000000 00000fff
>        01f9: fffff000 f7ffffff ffffffbf fdffffff ffffffff ffffffff
> ffffefff ffffffff
>        01fa: 00000000 00000000 00000000 071f0000 ffff007f 007f01ff
> 007f0007 00000000
>        0e00: 00000000 03ff0000 00000000 87fffffe 00000000 00000000
> 00000000 00000000
>        0fe4: 00000000 00000000 00000000 00000000 00000000 00000000
> 00000000 00007fe0
>        0fe8: 00000000 00ffd000 00000000 00000000 00000000 00000000
> 00000000 00000000
> (w)
>        lang: und-zsye(s)
>        fontversion: 132383(i)(s)
>        capability: "otlayout:DFLT"(w)
>        fontformat: "TrueType"(w)
>        embeddedbitmap: True(s)
>        decorative: False(s)
>        lcdfilter: 1(i)(w)
>        namelang: "es"(s)
>        prgname: "fc-match"(s)
>        postscriptname: "NotoColorEmoji"(w)
>        color: DontCare(s)
>        symbol: False(s)
>        variable: False(s)
>        pixelsizefixupfactor: 0,114679(f)(w)


Best Regards,

Héctor

El mié., 18 nov. 2020 a las 12:52, Norbert Preining (<preining at logic.at>)
escribió:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-fonts-devel/attachments/20201118/8dc2864a/attachment.html>


More information about the Pkg-fonts-devel mailing list