Bug#974924: Plasma 5.19.5.x: Emojis in black and white ( not color and not displayed correctly)

2024-03-08 Thread Juan
I've recently started seeing this

$ fc-match -s emoji
Symbola_hint.ttf: "Symbola" "Regular"
DejaVuSans.ttf: "DejaVu Sans" "Book"
DejaVuSans-Oblique.ttf: "DejaVu Sans" "Oblique"
DejaVuSans-BoldOblique.ttf: "DejaVu Sans" "Bold Oblique"
NimbusSans-Regular.otf: "Nimbus Sans" "Regular"
opens___.ttf: "OpenSymbol" "Regular"
DejaVuMathTeXGyre.ttf: "DejaVu Math TeX Gyre" "Regular"
DejaVuSerif.ttf: "DejaVu Serif" "Book"
LiberationMono-Regular.ttf: "Liberation Mono" "Regular"
LiberationSerif-Regular.ttf: "Liberation Serif" "Regular"
Lato-Regular.ttf: "Lato" "Regular"
NotoSansMono-Regular.ttf: "Noto Sans Mono" "Regular"
D05L.otf: "D05L" "Regular"
DroidSansFallbackFull.ttf: "Droid Sans Fallback" "Regular"
StandardSymbolsPS.pfb: "Standard Symbols PS" "Regular"
DejaVuSerif-Italic.ttf: "DejaVu Serif" "Italic"
LiberationSerif-Italic.ttf: "Liberation Serif" "Italic"

Interestingly I don't see NotoColorEmoji.ttf in that list even though I
have the package installed

$ apt-cache show fonts-noto-color-emoji
Package: fonts-noto-color-emoji
Version: 2.042-1
Installed-Size: 10455
Maintainer: Debian Fonts Task Force 
Architecture: all
Description-en: color emoji font from Google
 Noto is a collection of font families, each visually harmonized across
 scripts.
 .
 The name "Noto" is short for "No Tofu", describing the aim of covering
 all living Unicode scripts.
 .
 Tofu (豆腐) is Japanese jargon for unicode replacement character "�"
 (U+FFFD) often displayed as replacement for unassigned or unknown
 characters.
 .
 This package contains the color emoji font used on "stock" Android devices
 such as the Google Pixel.
Description-md5: a9719702f7fba976902bc66487dd558b
Multi-Arch: foreign
Homepage: https://fonts.google.com/noto/specimen/Noto+Color+Emoji
Section: fonts
Priority: optional
Filename:
pool/main/f/fonts-noto-color-emoji/fonts-noto-color-emoji_2.042-1_all.deb
Size: 9626580
MD5sum: c35046d526cd6f8c3ead08bf6f2077ec
SHA256: 8bac9ea54e9a2781d488571d0ee78cec101ad899e78473b78f575a61529e8ac4


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

2020-11-18 Thread Norbert Preining
Hi Héctor

thanks for testing!

> 1- Delete the file : *55-emoji-prepend.conf*
> 2- Reboot the machine
> 3- Open konsole and type:
> 
> $ fc-cache -f -s -v

Did you do this as root or with sudo?

> */var/cache/fontconfig: not cleaning unwritable cache directory*
> 
> *Note: */var/cache/fontconfig: not cleaning unwritable cache directory

That is strange a message!!!

> $ fc-match --verbose emoji
> Pattern has 42 elts (size 48)
>family: "Noto Color Emoji"(s)

STill returns the same, very very strange.

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



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

2020-11-18 Thread Norbert Preining
Thanks, but that has still the cached old data I guess, since it shows the Noto 
don't.


You probably need to call fc-cache -f -s first (of I remember the command line 
options correctly).

It shouldn't show the Noto color emoji font.

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



Nov 18, 2020 21:03:25 Héctor Sales Llamas :

> 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:  
>>    :  03ff0409    4200  
>> 
>>    0020: 2000 1000 0200     
>> 0008
>>    0021:  0204   03f0 0600  
>> 
>>    0023: 0c00 0100     8000 
>> 070ffe00
>>    0024:       0004 
>> 
>>    0025:      00400c00 0001 
>> 7800
>>    0026: 2132401f 0700c44d 800fff05 c8000169 1afc 60030c83 001ac130 
>> 27bf0600
>>    0027: 2054bf24 00180102 00b85090 0018 00e0 80010002  
>> 
>>    0029:  0030      
>> 
>>    002b: 18e0  0021     
>> 
>>    0030:  2001      
>> 
>>    0032:     0280   
>> 
>>    01f0: 0010      8000 
>> 
>>    01f1:    c003 07fe4000   
>> ffc0
>>    01f2: 0406 07fc8000 0003     
>> 
>>    01f3:  fff3   cecf   
>> ffb9
>>    01f4:        
>> bfff
>>    01f5:  3fff 7e00 07f980ff 00613c80 10060130 700e001c 
>> fc08810a
>>    01f6:       00e7f83f 
>> 1ff91a3f
>>    01f7:        
>> 0fff
>>    01f9: f000 f7ff ffbf fdff   efff 
>> 
>>    01fa:    071f 007f 007f01ff 007f0007 
>> 
>>    0e00:  03ff  87fe    
>> 
>>    0fe4:        
>> 7fe0
>>    0fe8:  00ffd000      
>> 
>> (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 () 
> 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



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

2020-11-18 Thread Héctor Sales Llamas
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:
>:  03ff0409    4200
>  
>0020: 2000 1000 0200   
>  0008
>0021:  0204   03f0 0600
>  
>0023: 0c00 0100    
> 8000 070ffe00
>0024:      
> 0004 
>0025:      00400c00
> 0001 7800
>0026: 2132401f 0700c44d 800fff05 c8000169 1afc 60030c83
> 001ac130 27bf0600
>0027: 2054bf24 00180102 00b85090 0018 00e0 80010002
>  
>0029:  0030    
>  
>002b: 18e0  0021   
>  
>0030:  2001    
>  
>0032:     0280 
>  
>01f0: 0010     
> 8000 
>01f1:    c003 07fe4000 
>  ffc0
>01f2: 0406 07fc8000 0003   
>  
>01f3:  fff3   cecf 
>  ffb9
>01f4:      
>  bfff
>01f5:  3fff 7e00 07f980ff 00613c80 10060130
> 700e001c fc08810a
>01f6:      
> 00e7f83f 1ff91a3f
>01f7:      
>  0fff
>01f9: f000 f7ff ffbf fdff  
> efff 
>01fa:    071f 007f 007f01ff
> 007f0007 
>0e00:  03ff  87fe  
>  
>0fe4:      
>  7fe0
>0fe8:  00ffd000    
>  
> (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 ()
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 :
>
> > It works!
> >
> > $ sudo nano /etc/fonts/conf.avail/55-emoji-prepend.conf
> >
> > 
> > 
> > 
> >   
> > 
> >   ibus-ui-emojier-plasma
> > 
> > 
> >   Noto Color Emoji
> > 
> >   
> > 
> >
> > 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 (<
> norb...@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 

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

2020-11-18 Thread Norbert Preining
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 :

> It works! 
> 
> $ sudo nano /etc/fonts/conf.avail/55-emoji-prepend.conf
> 
> 
> 
> 
>   
>     
>       ibus-ui-emojier-plasma
>     
>     
>       Noto Color Emoji
>     
>   
> 
> 
> 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 () 
> 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
>> 
>> 
>> 
>> 
>>   
>>     
>>       application
>>     
>>     
>>       Noto Color Emoji
>>     
>>   
>> 
>> *
>> 
>> 
>> 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-de...@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-fonts-devel



Bug#974924: Plasma 5.19.5.x: Emojis in black and white ( not color and not displayed correctly)

2020-11-18 Thread Héctor Sales Llamas
It works!

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




  

  *ibus-ui-emojier-plasma*


  Noto Color Emoji

  


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 ()
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
>
> 
> 
> 
>   
> 
>   application
> 
> 
>   Noto Color Emoji
> 
>   
> 
> *
>
>
> 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
>


Bug#974924: Plasma 5.19.5.x: Emojis in black and white ( not color and not displayed correctly)

2020-11-17 Thread Norbert Preining
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




  

  application


  Noto Color Emoji

  

*


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



Bug#974924: Plasma 5.19.5.x: Emojis in black and white ( not color and not displayed correctly)

2020-11-16 Thread Héctor Sales Llamas
Package: fonts-noto-color-emoji
Version: 0~20200916-1
Severity: normal

Dear Maintainer,

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-*"

I found a solution.. but it seemed dirty to me. I will add this at end of the
file ~/.config/fontconfig/fonts.conf

Link:
https://www.reddit.com/r/kde/comments/fpov5d/help_emojis_in_black_and_white/

"
  serif
  
   Noto Sans
   Noto Color Emoji
  
 
 
  sans-serif
  
   Noto Sans
   Noto Color Emoji
  
 
 
  monospace
  
   Noto Sans
   Noto Color Emoji
  "

Best Regards,

Héctor



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE=es
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information