Some pdfs have very garbled rendering e.g. http://darknedgy.net/files/systembsd.pdf. Other pdf readers such as mupdf can render them correctly. I am using poppler 0.33.0, okular 15.08.0(0.23.0) from archlinux packages.
Created attachment 118093 [details] document for defect reproduction In case the URL goes away, here is the document for reference.
can you attach a screenshot? I don't see any garbled rendering in my system.
Created attachment 118104 [details] Screenshot with LANG=en_US.UTF-8
Created attachment 118105 [details] screenshot with LANG=mr_IN.UTF-8
Interestingly, when I went on creating the snapshot, I noticed that I am using mr_IN locale. For clarity, I took screenshot with en_US.UTF-8 and the text/rendering came out fine. I have attached both the screenshots for reference. It never occured to me that it could be locale dependent. And that, it works with en_US.UTF-8, at least provides a workaround.
Can a screenshot of file -> properties -> fonts in okular with both LANG? Also the output of pdffonts -subst for both LANG
Created attachment 118111 [details] Font substitution in en_US.UTF-8
Created attachment 118112 [details] Font substitution in mr_IN.UTF-8
$ LANG=mr_IN.UTF-8 pdffonts -subst systembsd.pdf name object ID substitute font substitute font file ------------------------------------ --------- ------------------------------------ ------------------------------------ Helvetica 2 0 Droid Sans Devanagari /usr/share/fonts/TTF/DroidSansDevanagari-Regular.ttf $ LANG=en_US.UTF-8 pdffonts -subst systembsd.pdf name object ID substitute font substitute font file ------------------------------------ --------- ------------------------------------ ------------------------------------ Helvetica 2 0 Liberation Sans /usr/share/fonts/TTF/LiberationSans-Regular.ttf
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/576.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.