Package: fontconfig
Version: 2.11.0-6.4
Severity: serious
User: de...@kali.org
Usertags: origin-kali

For many months now, I have experienced myself and I have received dozens
of reports (on the Kali side) of users having squares instead of the
expected characters in their GNOME setup. The work-around was to run "apt
--reinstall install fonts-cantarell" and I suspected that it was related
to some bad update of the font-config cache, and this has been now
confirmed:
https://www.earth.li/~noodles/blog/2016/06/fixing-firefox-fonts.html 

The above page shows an invocation of "fc-list" returning many entries
for files such as
/usr/share/fonts/opentype/cantarell/Cantarell-Regular.otf.dpkg-tmp
Those files exist only during unpack of a package and they should not
be grabbed.

So please make sure that the fontconfig cache update ignores any
.dpkg-tmp file...

Still I wonder how this is even possible as when the fontconfig trigger
runs, the packages are fully unpacked and those files should have been
already insalled under their final name. Maybe GNOME has some inotify
thing in place to update the cache dynamically? In any case, ignoring
those files at the fontconfig level should fix this issue I believe.

Sample reports on the Kali side:
https://bugs.kali.org/view.php?id=3376
https://bugs.kali.org/view.php?id=3148
https://bugs.kali.org/view.php?id=3293

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 
'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages fontconfig depends on:
ii  dpkg               1.18.7
ii  fontconfig-config  2.11.0-6.4
ii  libc6              2.22-11
ii  libfontconfig1     2.11.0-6.4
ii  libfreetype6       2.6.3-3+b1

fontconfig recommends no packages.

fontconfig suggests no packages.

-- no debconf information

Reply via email to