3

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)).

  • 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. – Reinstate Monica - ζ-- 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 – notablytipsy 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. – notablytipsy Oct 31 '12 at 2:54
  • Which Ubuntu version is this on? – 8128 Nov 3 '12 at 19:31
3

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

  • I think, your answer will go from good to excellent if you include more info here. ;) – Anwar Nov 8 '12 at 17:19
  • What else should I add? – notablytipsy Nov 9 '12 at 7:37
2
+50

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).

  • Nope, no difference :( – notablytipsy Nov 3 '12 at 19:30
  • @asymptotically In order to "reproduce" my setup, perhaps try the official Firefox beta PPA – 8128 Nov 3 '12 at 19:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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