[Pkg-fonts-devel] Bug#510989: upgrading ttf fonts make text in some programs unreadable
Tue Jan 6 14:07:11 UTC 2009
After upgrading ttf-dejavu cyrillic text in iceweasel bacame unreadable (letters are still
Cyrillic, and readable, but words look like made with random password generator), that
was fixed after restarting iceweasel.
It can be bacause:
1. Font was open by Iceweasel and during upgrade it was overwritten in-place
(instead of creating temporary file and then moving it, iceweasel could use
deleted file with old contents)
2. Information about glyph offsets/numbers is cached somewhere (Iceweasel, freetype...),
and is not updated after font upgrade. And then new file was opened and cached
information was used to get glyphs from it.
3. Fontconfig caches were overwritten in-place during upgrade.
4. Iceweasel keeps font files open, but reads fontconfig caches time-to-time.
lsof shows that iceweasel keeps ttf files open, and I think dpkg does not overwrite files
in-place, so this is probably case 3. But I dont have time now to ivestigate further.
This bug probably not specific to ttf-dejavu/iceweasel/Cyrillic glyphs, and probably
can be reproduced with fonts that change significantly during upgrade.
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.28 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ttf-dejavu depends on:
ii ttf-dejavu-core 2.28-1 Vera font family derivate with add
ii ttf-dejavu-extra 2.28-1 Vera font family derivate with add
ttf-dejavu recommends no packages.
ttf-dejavu suggests no packages.
-- no debconf information
More information about the Pkg-fonts-devel