Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

While using Firefox on Windows, pdf.js worked beautifully. It was honestly amazing. But on (K)ubuntu, it fails to render the files - not just some, but any (which is why I'm posting here). For example, I searched for 'pdf' on Google and opened the first pdf file, and it looked like this:

Yikes

enter image description here

All pdfs look like this, some even worse. Has anyone else had this problem? I found a few posts about terrible font rendering with pdf.js, but all those posters said it had been resolved with an update ... I have already tried disabling all addons, reinstalling Firefox (I even reinstalled Kubuntu (not because of this problem)).

share|improve this question
1  
Can you explain the problem in the screenshot? It looks fine to me since I don't know what problems I should be looking for. –  hexafraction Oct 30 '12 at 19:37
2  
The font rendering is horrible, as if it has uneven kerning. Many symbols are gibberish, as if there was some error while converting it. I've uploaded a clearer picture –  asymptotically Oct 31 '12 at 2:37
    
The second part is probably another question altogether. IMO –  Journeyman Geek Oct 31 '12 at 2:40
    
@JourneymanGeek Done. –  asymptotically Oct 31 '12 at 2:54
    
Thanks! I see the problem now. –  hexafraction Oct 31 '12 at 10:30
show 2 more comments

2 Answers

I use the development version of pdf.js, and the PDF you linked to displays as expected on my system.

Try installing the development version of pdf.js and see if this helps.

The development extension should be quite stable but still might break from time to time. Also, note that the development extension is updated on every merge and by default Firefox will auto-update extensions on a daily basis (you can change this through the extensions.update.interval option in about:config).

share|improve this answer
    
Nope, no difference :( –  asymptotically Nov 3 '12 at 19:30
    
@asymptotically In order to "reproduce" my setup, perhaps try the official Firefox beta PPA –  fluteflute Nov 3 '12 at 19:54
add comment
up vote 2 down vote accepted

Working on Firefox 16 on Kubuntu 12.10 .. Fixed! There were two things I did to fix it:

cd /etc/fonts/conf.d
sudo rm 10-*.conf

and by following the answer here

share|improve this answer
    
I think, your answer will go from good to excellent if you include more info here. ;) –  Anwar Shah Nov 8 '12 at 17:19
    
What else should I add? –  asymptotically Nov 9 '12 at 7:37
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.