Bug 41922

Summary: Evince prints spaces in barcodes
Product: poppler Reporter: it
Component: cairo backendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED WORKSFORME QA Contact:
Severity: minor    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: PDF file that evince prints with spaces
What Evince prints
pdftops conversion
pdftops > imagemagick > png

Description it 2011-10-18 02:14:23 UTC
Created attachment 52459 [details]
PDF file that evince prints with spaces

PDF with embedded Code39 barcode font is printed with random spaces in the barcodes, making them unusable.

Document Viewer 2.32.0 prints with spaces.
xpdf 3.02 prints them just fine.

HP 2025 color laserjet
Linux Mint v10
Comment 1 it 2011-10-18 02:15:12 UTC
Created attachment 52460 [details]
What Evince prints

This is a scan of the page produced by Evince.
Comment 2 it 2011-10-18 02:16:31 UTC
There is no pattern behind which barcodes break.

Some combinations work on one PDF, and if the letters are rearranged they'll work on another PDF.
Comment 3 Albert Astals Cid 2011-10-18 02:33:38 UTC
Which poppler version is that? Can you confirm that pdftops produces correct results?
Comment 4 it 2011-10-18 02:54:38 UTC
Package: libpoppler7                     
State: installed
Automatically installed: no
Version: 0.14.3-0ubuntu1.2

Attaching pdftops outout.
Comment 5 it 2011-10-18 02:55:02 UTC
Created attachment 52462 [details]
pdftops conversion
Comment 6 it 2011-10-18 02:55:27 UTC
Created attachment 52463 [details]
pdftops > imagemagick > png
Comment 7 Albert Astals Cid 2011-10-18 02:58:55 UTC
0.14 is old, but anyway, pdftops working shows that it's a cairo backend issue.
Comment 8 Adrian Johnson 2011-10-18 03:09:36 UTC
I can't reproduce it using either poppler 0.16.7/cairo 1.10.2 or poppler git/cairo git. Try upgrading to a more recent version to see if that fixes the problem.
Comment 9 Adrian Johnson 2016-07-16 06:20:13 UTC
Works for me with the latest version. Version 0.14.3 is 6 years old. Please re-open if you can reproduce with a current version.

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.