[Bug 631088] Re: Incompatibilty with Windows font Deja Vu Sans 9.9990234375 makes evince menu unreadable

2011-08-30 Thread Andrea B.
** Description changed:

  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='BasicEngineFc', font='DejaVu Sans 9.9990234375', text='●'
  
  (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: 
  
  (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/sda1/Windows/Fonts $HOME/.fonts
-ls $HOME/.fonts/Deja*
+    ln -s /media/sda1/Windows/Fonts $HOME/.fonts
+    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/win7/Windows/Fonts/Deja*
  -rwxrwx--- 2 root plugdev   524056 2009-08-27 16:26 DejaVuSans-BoldOblique.ttf
  -rwxrwx--- 2 root plugdev   573136 2009-08-27 16:26 DejaVuSans-Bold.ttf
  -rwxrwx--- 2 root plugdev   493196 2009-08-27 16:26 
DejaVuSansCondensed-BoldOblique.ttf
  -rwxrwx--- 2 root plugdev   534464 2009-08-27 16:26 
DejaVuSansCondensed-Bold.ttf
  -rwxrwx--- 2 root plugdev   488440 2009-08-27 16:26 
DejaVuSansCondensed-Oblique.ttf
  -rwxrwx--- 2 root plugdev   544636 2009-08-27 16:26 DejaVuSansCondensed.ttf
  -rwxrwx--- 2 root plugdev   329412 2009-08-27 16:26 DejaVuSans-ExtraLight.ttf
  -rwxrwx--- 2 root plugdev   223408 2009-08-27 16:26 
DejaVuSansMono-BoldOblique.ttf
  -rwxrwx--- 2 root plugdev   301928 2009-08-27 16:26 DejaVuSansMono-Bold.ttf
  -rwxrwx--- 2 root plugdev   229284 2009-08-27 16:26 DejaVuSansMono-Oblique.ttf
  -rwxrwx--- 2 root plugdev   321524 2009-08-27 16:26 DejaVuSansMono.ttf
  -rwxrwx--- 2 root plugdev   523804 2009-08-27 16:26 DejaVuSans-Oblique.ttf
  -rwxrwx--- 2 root plugdev   622280 2009-08-27 16:26 DejaVuSans.ttf
  -rwxrwx--- 2 root plugdev   294244 2009-08-27 16:26 DejaVuSerif-BoldItalic.ttf
  -rwxrwx--- 2 root plugdev   306532 2009-08-27 16:26 DejaVuSerif-Bold.ttf
  -rwxrwx--- 2 root plugdev   293472 2009-08-27 16:26 
DejaVuSerifCondensed-BoldItalic.ttf
  -rwxrwx--- 2 root plugdev   282092 2009-08-27 16:26 
DejaVuSerifCondensed-Bold.ttf
  -rwxrwx--- 2 root plugdev   301244 2009-08-27 16:26 
DejaVuSerifCondensed-Italic.ttf
  -rwxrwx--- 2 root plugdev   295840 2009-08-27 16:26 DejaVuSerifCondensed.ttf
  -rwxrwx--- 2 root plugdev   301828 2009-08-27 16:26 DejaVuSerif-Italic.ttf
  -rwxrwx--- 2 root plugdev   328908 2009-08-27 16:26 DejaVuSerif.ttf
  
  $ ls -l /usr/share/fonts/truetype/ttf-dejavu/
  total 7952
  -rw-r--r-- 1 root root 524056 2009-08-27 16:26 DejaVuSans-BoldOblique.ttf
  -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 
DejaVuSansCondensed-BoldOblique.ttf
  -rw-r--r-- 1 root root 534464 2009-08-27 16:26 DejaVuSansCondensed-Bold.ttf
  -rw-r--r-- 1 root root 488440 2009-08-27 16:26 DejaVuSansCondensed-Oblique.ttf
  -rw-r--r-- 1 root root 544636 2009-08-27 16:26 DejaVuSansCondensed.ttf
  -rw-r--r-- 1 root root 329408 2009-08-27 16:26 DejaVuSans-ExtraLight.ttf
  -rw-r--r-- 1 root root 223408 2009-08-27 16:26 DejaVuSansMono-BoldOblique.ttf
  -rw-r--r-- 1 root root 301928 2009-08-27 16:26 DejaVuSansMono-Bold.ttf
  -rw-r--r-- 1 root root 229284 2009-08-27 16:26 DejaVuSansMono-Oblique.ttf
  -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-Oblique.ttf
  -rw-r--r-- 1 root root 622280 2009-08-27 16:26 DejaVuSans.ttf
  -rw-r--r-- 1

[Bug 631088] Re: Incompatibilty with Windows font Deja Vu Sans 9.9990234375 makes evince menu unreadable

2011-08-29 Thread Andrea B.
I've the exactly the same problem on Lucid Lynx 10.04 64-bit since twenty days.
I've tried to reinstall the packages ttf-dejavu-core and ttf-dejavu-extra with 
no results.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pango1.0 in Ubuntu.
https://bugs.launchpad.net/bugs/631088

Title:
  Incompatibilty with Windows font Deja Vu Sans 9.9990234375 makes
  evince menu unreadable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/631088/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs