Bug 40430 - PDF characters are distorted
Summary: PDF characters are distorted
Status: RESOLVED NOTABUG
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-28 02:42 UTC by idohlp2
Modified: 2011-08-28 12:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
offending pdf (73.28 KB, application/pdf)
2011-08-28 02:42 UTC, idohlp2
Details
XPDF output (38.06 KB, image/png)
2011-08-28 02:53 UTC, idohlp2
Details
GV output (45.45 KB, image/png)
2011-08-28 02:54 UTC, idohlp2
Details
ACROREAD output (90.64 KB, image/png)
2011-08-28 08:15 UTC, idohlp2
Details

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.