Incompatibilty with Windows font Deja Vu Sans 9.9990234375 makes evince menu unreadable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
evince (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
pango1.0 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: evince
When the font path contains a directory with a (reported invalid) 'DejaVu Sans' font, the menu and dialog boxes are unreadable (boxes appear everywhere instead of letters LANG=fr_FR.utf8).
The font path may contain such a font in a dual boot system when the user has prepended a Windows "Fonts" directory to the font path (by linking it to ~/.fonts) and the DejaVu font is installed there (probably by OpenOffice.org 3.2 for Windows).
When the Windows Fonts directory is removed from the font path, evince is ok.
No such problem with other applications (Firefox, Gvim, OOo, gedit, Inkscape, Gimp).
Expected behavior
-------
If the font is really invalid, it should be skipped and a valid one (which in my case in available in the standard font path) should be loaded instead.
Diagnostics
--------------
Here is the evince stderr output:
(evince:11361): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'DejaVu Sans 9.9990234375'
(evince:11361): Pango-WARNING **: font_face status is: out of memory
(evince:11361): Pango-WARNING **: scaled_font status is: out of memory
(evince:11361): Pango-WARNING **: shaping failure, expect ugly output. shape-engine=
(evince:11361): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'DejaVu Sans 9.9990234375'
(evince:11361): Pango-WARNING **: font_face status is: <unknown error status>
(evince:11361): Pango-WARNING **: scaled_font status is: out of memory
Environment details
-------
This is a dual boot system with Windows 7.
I have my Windows font directory linked in my environment to make all Windows fonts available in the Ubuntu environment:
ln -s /media/
ls $HOME/.fonts/Deja*
Note that the file time AND file size of the fonts on the Ubuntu system are exactly the same as on Windows. However the content differ (checked with 'sum').
$ ls -l /media/
-rwxrwx--- 2 root plugdev 524056 2009-08-27 16:26 DejaVuSans-
-rwxrwx--- 2 root plugdev 573136 2009-08-27 16:26 DejaVuSans-Bold.ttf
-rwxrwx--- 2 root plugdev 493196 2009-08-27 16:26 DejaVuSansConde
-rwxrwx--- 2 root plugdev 534464 2009-08-27 16:26 DejaVuSansConde
-rwxrwx--- 2 root plugdev 488440 2009-08-27 16:26 DejaVuSansConde
-rwxrwx--- 2 root plugdev 544636 2009-08-27 16:26 DejaVuSansConde
-rwxrwx--- 2 root plugdev 329412 2009-08-27 16:26 DejaVuSans-
-rwxrwx--- 2 root plugdev 223408 2009-08-27 16:26 DejaVuSansMono-
-rwxrwx--- 2 root plugdev 301928 2009-08-27 16:26 DejaVuSansMono-
-rwxrwx--- 2 root plugdev 229284 2009-08-27 16:26 DejaVuSansMono-
-rwxrwx--- 2 root plugdev 321524 2009-08-27 16:26 DejaVuSansMono.ttf
-rwxrwx--- 2 root plugdev 523804 2009-08-27 16:26 DejaVuSans-
-rwxrwx--- 2 root plugdev 622280 2009-08-27 16:26 DejaVuSans.ttf
-rwxrwx--- 2 root plugdev 294244 2009-08-27 16:26 DejaVuSerif-
-rwxrwx--- 2 root plugdev 306532 2009-08-27 16:26 DejaVuSerif-
-rwxrwx--- 2 root plugdev 293472 2009-08-27 16:26 DejaVuSerifCond
-rwxrwx--- 2 root plugdev 282092 2009-08-27 16:26 DejaVuSerifCond
-rwxrwx--- 2 root plugdev 301244 2009-08-27 16:26 DejaVuSerifCond
-rwxrwx--- 2 root plugdev 295840 2009-08-27 16:26 DejaVuSerifCond
-rwxrwx--- 2 root plugdev 301828 2009-08-27 16:26 DejaVuSerif-
-rwxrwx--- 2 root plugdev 328908 2009-08-27 16:26 DejaVuSerif.ttf
$ ls -l /usr/share/
total 7952
-rw-r--r-- 1 root root 524056 2009-08-27 16:26 DejaVuSans-
-rw-r--r-- 1 root root 573136 2009-08-27 16:26 DejaVuSans-Bold.ttf
-rw-r--r-- 1 root root 493196 2009-08-27 16:26 DejaVuSansConde
-rw-r--r-- 1 root root 534464 2009-08-27 16:26 DejaVuSansConde
-rw-r--r-- 1 root root 488440 2009-08-27 16:26 DejaVuSansConde
-rw-r--r-- 1 root root 544636 2009-08-27 16:26 DejaVuSansConde
-rw-r--r-- 1 root root 329408 2009-08-27 16:26 DejaVuSans-
-rw-r--r-- 1 root root 223408 2009-08-27 16:26 DejaVuSansMono-
-rw-r--r-- 1 root root 301928 2009-08-27 16:26 DejaVuSansMono-
-rw-r--r-- 1 root root 229284 2009-08-27 16:26 DejaVuSansMono-
-rw-r--r-- 1 root root 321524 2009-08-27 16:26 DejaVuSansMono.ttf
-rw-r--r-- 1 root root 523804 2009-08-27 16:26 DejaVuSans-
-rw-r--r-- 1 root root 622280 2009-08-27 16:26 DejaVuSans.ttf
-rw-r--r-- 1 root root 294244 2009-08-27 16:26 DejaVuSerif-
-rw-r--r-- 1 root root 306532 2009-08-27 16:26 DejaVuSerif-
-rw-r--r-- 1 root root 293472 2009-08-27 16:26 DejaVuSerifCond
-rw-r--r-- 1 root root 282092 2009-08-27 16:26 DejaVuSerifCond
-rw-r--r-- 1 root root 301244 2009-08-27 16:26 DejaVuSerifCond
-rw-r--r-- 1 root root 295840 2009-08-27 16:26 DejaVuSerifCond
-rw-r--r-- 1 root root 301828 2009-08-27 16:26 DejaVuSerif-
-rw-r--r-- 1 root root 328908 2009-08-27 16:26 DejaVuSerif.ttf
The fonts have probably been installed in my Windows environment by OpenOffice.org 3.2 (but I'm not sure).
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: evince 2.30.3-0ubuntu1.1
ProcVersionSign
Uname: Linux 2.6.32-24-generic i686
Architecture: i386
Date: Sun Sep 5 21:14:26 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu-Netbook 10.04 "Lucid Lynx" - Release i386 (20100429.4)
ProcEnviron:
PATH=(custom, user)
LANG=fr_FR.utf8
SHELL=/bin/bash
SourcePackage: evince
tags: | added: maverick |
Changed in evince (Ubuntu): | |
status: | New → Confirmed |
description: | updated |
libpango1.0-0 is version 1.28.0-0ubuntu2
Note that this is not a new bug. I already had this bug for more than 2 years with the previous releases of Ubuntu and on a different PC (with similar setup : Windows Fonts dir in font path).