Bug 107002 - Misrendering of PDF form
Summary: Misrendering of PDF form
Status: RESOLVED MOVED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-22 14:41 UTC by Hanno Böck
Modified: 2018-08-20 21:51 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
W8-W9.pdf (111.42 KB, application/pdf)
2018-06-22 14:41 UTC, Hanno Böck
Details
misrendering poppler vs. chrome (410.88 KB, image/png)
2018-06-22 14:41 UTC, Hanno Böck
Details
bla.pdf (111.95 KB, application/pdf)
2018-06-22 22:05 UTC, Albert Astals Cid
Details

Description Hanno Böck 2018-06-22 14:41:22 UTC
Created attachment 140281 [details]
W8-W9.pdf

I'll attach a form (an official US gov tax form) that doesn't correctly render in poppler/evince.

Particularly the "ticks" on the form boxes aren't rendered, also the background color of the input fields is missing. I'll attach a screenshot with chrome (rendering looks correct) versus evince.
Comment 1 Hanno Böck 2018-06-22 14:41:55 UTC
Created attachment 140282 [details]
misrendering poppler vs. chrome
Comment 2 Albert Astals Cid 2018-06-22 20:21:04 UTC
Works here.

Which poppler version are you using?
Comment 3 Hanno Böck 2018-06-22 21:14:41 UTC
Was with 0.65.0, update to 0.66.0 doesn't change things. So latest versions. Is the missing box tick maybe due to some font issue?
Comment 4 Albert Astals Cid 2018-06-22 22:05:38 UTC
May be, with the file i will attach what is the result for you of

pdffonts -subst ~/bla.pdf

here i get

ZapfDingbats                            805  0 D050000L                             /usr/share/fonts/gsfonts/D050000L.otf
Comment 5 Albert Astals Cid 2018-06-22 22:05:54 UTC
Created attachment 140287 [details]
bla.pdf
Comment 6 Hanno Böck 2018-06-23 06:40:12 UTC
name                                 object ID substitute font                      substitute font file
------------------------------------ --------- ------------------------------------ ------------------------------------
ZapfDingbats                            805  0 Liberation Sans                      /usr/share/fonts/liberation-fonts/LiberationSans-Regular.ttf
Comment 7 Albert Astals Cid 2018-06-23 09:33:01 UTC
I would suggest you fix your fontconfig setup to provide a proper ZapfDingbats replacement (LiberationSans-Regular definitely is not a good one)
Comment 8 GitLab Migration User 2018-08-20 21:51:46 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/95.


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.