Bug 40430

Summary: PDF characters are distorted
Product: poppler Reporter: idohlp2
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: offending pdf
XPDF output
GV output
ACROREAD output

Description idohlp2 2011-08-28 02:42:46 UTC
Created attachment 50629 [details]
offending pdf
Comment 1 idohlp2 2011-08-28 02:53:35 UTC
Created attachment 50630 [details]
XPDF output
Comment 2 idohlp2 2011-08-28 02:54:02 UTC
Created attachment 50631 [details]
GV output
Comment 3 Brad Hards 2011-08-28 03:34:27 UTC
Possibly something wrong in the fonts in that document.

Using acroread, Selecting File->Properties looks OK until you hit the font tab. Then acroread asserts / dies...
Comment 4 Adrian Johnson 2011-08-28 04:21:03 UTC
(In reply to comment #3)
> Possibly something wrong in the fonts in that document.
> 
> Using acroread, Selecting File->Properties looks OK until you hit the font tab.
> Then acroread asserts / dies...

Works for me. Seems to be an issue with acroread on some 64-bit distros. On Ubuntu it is this bug:

https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/783207

This fix in comment 4 fixed the crash for me.
Comment 5 idohlp2 2011-08-28 08:15:04 UTC
Created attachment 50632 [details]
ACROREAD output

Acroread didn't crashed for me. I attached a screen capture. It also print the document correctly. The distorted lines are in the fonts:
1st line - TimesNewRomanPSMT
3rd line - Arial-BoldMT

The output of  'pdffonts t1.pdf' (t1.pdf is the offending document) is:

ido@laptop:~/Shared-vbox$ pdffonts t1.pdf
name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
TimesNewRomanPSMT                    TrueType          no  no  no       6  0
MVTCVM+ArialUnicodeMS                TrueType          yes yes yes     10  0
Arial-BoldMT                         TrueType          no  no  no      12  0
WVRSVG+Calibri                       TrueType          yes yes yes     16  0


maybe it has something to do with that 'no no no' line?    I don't understand its meaning.
Comment 6 Albert Astals Cid 2011-08-28 12:55:19 UTC
It means the fonts are not embedded in the PDF file, and as they are most probably not installed in the system, we have to resort to using a substitute, and the results are not good, there is not much we can do, you can install the font or configure fontconfig to give it a nicer substitute, but that is all on your local side so I am going to close the bug.

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.