Bug 335033

Summary: [Forms][Checkbox] Printing shows a 4 instead of a checkmark
Product: [Applications] okular Reporter: quazgar <quazgar>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: CONFIRMED ---    
Severity: normal CC: aacid, antonioni.rocha, jimmyzoe, m.weghorn, max.schwarz, nate, u.fuchs
Priority: NOR Keywords: usability
Version: 0.17.5   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: A pdf with a fillable form.
Print-to-PDF result with checkbox checked.

Description quazgar 2014-05-19 12:45:33 UTC
E.g. in PDFs created or edited with "Master PDF Editor" http://code-industry.net/pdfeditor.php, checkboxes are sometimes displayed correctly, but do not print as expected.  Instead of a tick mark, a number is printed, probably because Okular inserts the wrong font.

Reproducible: Always

Steps to Reproduce:
1. Tick PDF checkbox form.
2. Print.
Actual Results:  
A number is printed in the box.

Expected Results:  
A checkmark (tick, cross, whatever was specified in the PDF) should have been printed.

See attached examples.
Comment 1 quazgar 2014-05-19 12:49:15 UTC
Created attachment 86709 [details]
A pdf with a fillable form.
Comment 2 quazgar 2014-05-19 12:49:44 UTC
Created attachment 86710 [details]
Print-to-PDF result with checkbox checked.
Comment 3 Albert Astals Cid 2014-05-19 20:49:54 UTC
Well, the 4 is the checmark :D
Comment 4 quazgar 2014-05-19 21:36:39 UTC
The actual number depends on the type of checkmark that has been set in the pdf. It may also be an 8 in the case of a tick (✔) instead of a cross (✘), if I remember my experiments correctly.
Comment 5 Fuchs 2016-01-25 18:44:36 UTC
This is my workaround for the problem:
Checkboxes are printed correctly if somewhere in the PDF-document a review (F6) emphasis (yellow pencil) is made. Transparancy can be set to 1%, so this mark is not printed actually.
Comment 6 Nate Graham 2017-09-29 04:14:08 UTC
*** Bug 376300 has been marked as a duplicate of this bug. ***
Comment 7 Max Schwarz 2020-04-24 22:28:11 UTC
This is still happening, with PDFs generated using Scribus.

Link to a relevant poppler bug: https://gitlab.freedesktop.org/poppler/poppler/-/issues/541