Bug 24812 - complex (?) pdf forms not correctly rendered
Summary: complex (?) pdf forms not correctly rendered
Status: RESOLVED MOVED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-30 06:53 UTC by Diego Ercolani
Modified: 2018-08-21 10:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Complex (?) pdf document unrendered by okular compressed with 7z (1/2) (800.00 KB, application/pdf)
2009-10-30 06:56 UTC, Diego Ercolani
Details
Complex (?) pdf document unrendered by okular compressed with 7z (2/2) (353.28 KB, application/octet-stream)
2009-10-30 06:57 UTC, Diego Ercolani
Details
Font list by Acrobat Reader running in linux (27.39 KB, image/jpeg)
2009-10-30 06:57 UTC, Diego Ercolani
Details
Font list by okular (41.63 KB, image/jpeg)
2009-10-30 06:58 UTC, Diego Ercolani
Details
Erroneus pdf rendered by okular (showing forms) (113.16 KB, image/jpeg)
2009-10-30 06:58 UTC, Diego Ercolani
Details
What is shown by Acrobat Reader 8 on the same document (140.59 KB, image/jpeg)
2009-10-30 06:59 UTC, Diego Ercolani
Details

Description Diego Ercolani 2009-10-30 06:53:01 UTC
I don't have much experience with pdf forms but I found a kind of ducument
bakered by Acrobat that doesn't be rendered correctly in okular that uses poppler as backend.
I opened a bug issue in bugs.kde.org (https://bugs.kde.org/show_bug.cgi?id=212394) but they told that this should be a backend (poppler) problem as the same issue is in every opensource pdf rendering engine that I tryied:
ghostscript
kpdf from kde3
xpdf
gimp


There are 2 problems:

-------------- 1st problem ---------------
ghostscript think that the font used by the document contains ArialMT:
gs -sDEVICE=x11 EstrattoConto_1256901690391.pdf
GPL Ghostscript 8.62 (2008-02-29)
Copyright (C) 2008 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file COPYING for details.
Processing pages 1 through 1.
Page 1
Can't find (or can't open) font file
/usr/share/ghostscript/8.62/Resource/Font/ArialMT.
Can't find (or can't open) font file ArialMT.
Can't find (or can't open) font file
/usr/share/ghostscript/8.62/Resource/Font/ArialMT.
Can't find (or can't open) font file ArialMT.
Scanning /usr/share/fonts/truetype for fonts... 482 files, 480 scanned, 471 new
fonts.
Loading ArialMT font from /usr/share/fonts/truetype/arial.ttf... 6354392
2943989 20226572 18829752 3 done.
>>showpage, press <return> to continue<<

while acrobat reader 8 properties says more characters but not ArialMT (I'll
include Acrobat properties screenshot) - immagine1.jpeg
The same for okular (see attached immagine2.jpeg)

--------------2nd problem (MORE IMPORTANT) ---------------------
The document contain a form that is compiled to create the pdf from java Adobe
LiveCycle Designer 8.
Okular shows that there are forms but doesn't show anithing but the page
template.... (see immagine3.jpeg)
while acrobat shows correctly the form with prefilled fields.

The document is a "statement of account" for credit cards so it's a kind of
document that is important to be readable....
Comment 1 Diego Ercolani 2009-10-30 06:56:54 UTC
Created attachment 30833 [details]
 Complex (?) pdf document unrendered by okular compressed with 7z (1/2)

Sorry for the "violation" of the attachement policy, but I can't make create a
smaller pdf as I don't have the license but I have to ask for and I think this
pdf should be a part of quality test bench
Comment 2 Diego Ercolani 2009-10-30 06:57:26 UTC
Created attachment 30834 [details]
Complex (?) pdf document unrendered by okular compressed with 7z (2/2)
Comment 3 Diego Ercolani 2009-10-30 06:57:51 UTC
Created attachment 30835 [details]
Font list by Acrobat Reader running in linux
Comment 4 Diego Ercolani 2009-10-30 06:58:10 UTC
Created attachment 30836 [details]
Font list by okular
Comment 5 Diego Ercolani 2009-10-30 06:58:57 UTC
Created attachment 30837 [details]
Erroneus pdf rendered by okular (showing forms)

the note is that this isn't an isolated issue:
ghostscript
kpdf from kde3
xpdf
gimp
are all showing that page... so it's a major issue
Comment 6 Diego Ercolani 2009-10-30 06:59:28 UTC
Created attachment 30838 [details]
What is shown by Acrobat Reader 8 on the same document
Comment 7 Albert Astals Cid 2009-11-01 15:25:44 UTC
The gs problem is reported to the wrong bugzilla, we don't deal with gs problems here.

The poppler problem is real and needs some work, thanks for reporting
Comment 8 Diego Ercolani 2009-11-03 02:33:21 UTC
Opened Bug report under ghostscript: http://bugs.ghostscript.com/show_bug.cgi?id=690885
Comment 9 GitLab Migration User 2018-08-21 10:43:48 UTC
-- 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/348.


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.