Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541252 - media-fonts/dejavu-2.34 upgrade causes firefox to create bad ligatures and random gibberish
Summary: media-fonts/dejavu-2.34 upgrade causes firefox to create bad ligatures and ra...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Fonts Team
URL: file:///usr/share/doc/getmail-4.46.0/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-24 15:13 UTC by James McMechan
Modified: 2015-02-26 04:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (info.log,15.72 KB, text/x-log)
2015-02-24 15:14 UTC, James McMechan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James McMechan 2015-02-24 15:13:24 UTC
www-client/firefox-31.4.0 and media-fonts/dejavu-2.34 : when I let stable upgrade from media-fonts/dejavu-2.33 -> 2.34 stable firefox starts displaying ligatures and they are incorrect glyphs. Certificate displays as Certi3cate with I think that might be a greek epislon, I have also seen omega, cyrillic letters, what look like APL symbols.  I googled this mozilla reported that some san-serif fonts have bad tables and was contemplating a blacklist back around 2007 see https://bugzilla.mozilla.org/show_bug.cgi?id=404971 and they seemed to regard it as a font problem.  I have rebuit firefox and the font and I am as of this morning current stable on them both and the problem still appears. I orginally reported this on bug 521704 the media-fonts/dejavu-2.34 stable request.  There does not appear to be a way to request a package be moved back to unstable until fixed however.

Reproducible: Always

Steps to Reproduce:
1. Allow media-fonts/dejavu to upgrade to latest stable on AMD64
2.
3.
Actual Results:  
look at a webpage in firefox I used a local page in my /usr/share/doc specifically getmail-4.46.0/configuration.html but it happens on many pages. I suspect that they are pages that don't specify a font, and for some reason firefox defaults to dejavu, where the current version claims it does something it does not work right for.

Expected Results:  
display the page with the correct glyphs for the ligatures or not display ligatures

I worked around this by manually masking =media-fonts/dejavu-2.34 and things go back to normal.

emerge --info : will create attachment when pasted as requested comment is too long
Comment 1 James McMechan 2015-02-24 15:14:54 UTC
Created attachment 397418 [details]
emerge --info
Comment 2 Ben de Groot (RETIRED) gentoo-dev 2015-02-24 15:54:27 UTC
I can't reproduce this. Anyone else?
Comment 3 James McMechan 2015-02-25 02:42:48 UTC
Well I also saw someone else with the same problem on the stable request bug https://bugs.gentoo.org/show_bug.cgi?id=521704#c4
at the time I was running firefox-31.3.0 and he was running 34.0.5-r1
I was hoping that interium updates would have fixed so I tried unmasking media-fonts/dejavu again and tested it, alas it is still broken.
This is on a fairly new computer I got at the end of November 2014
And have done a new gentoo installation on specifically from 
stage3-amd64-20141127.tar.bz2

Ok, I have found that removing the .mozilla directory caused it to work normally.

Reasonable fix:

Since I did not like loosing everything I found that running firefox help->Troubleshooting Information->Reset Firefox would also cause the ligature to be turned off, but would still save my tabs, bookmarks, passwords, cookies and history.  

So that works well enough for most purposes.
I still don't know what firefox was doing, googling seemed to indicate a problem with fonts, maybe an out of date config option was jamming things up somewhere.
and I have no idea why it seemed to depend on the version of dejavu...
it may be that after resetting it is nolonger using dejavu as a default font.


Sorry for the noise.

hopefully anyone else who is still having this problem will find this and be helped.