Closed Bug 1826783 Opened 2 years ago Closed 7 months ago

PDF print must ignore unprintable elements

Categories

(Firefox :: PDF Viewer, defect, P3)

Firefox 111
defect

Tracking

()

RESOLVED FIXED
125 Branch

People

(Reporter: mvorisek, Unassigned)

References

Details

Attachments

(3 files)

Attached file item_labels.pdf

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0

Steps to reproduce:

Open and print the attached pdf file with label that has unprintable border.

Do the same a) with Mozilla Firefox, b) using Adobe Acrobat Reader and notice, the border around the label is printed unexpectedly with Mozilla Firefox. When printed using Adobe Acrobat Reader app, the border is correctly not printed.

Actual results:

Label border is printed when printed using Firefox.

Expected results:

The border is defined in the pdf as unprintable element and therefore must not be printed.

I would also expect the border to be NOT visible in a print preview.

The Bugbug bot thinks this bug should belong to the 'Firefox::PDF Viewer' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → PDF Viewer
Attached image image.png

It's a matter of layer.
If you uncheck View (see the image) and print then it's fine.
I don't know how layers can be enabled/disabled when printing so it'll require some investigations.
:Snuffleupagus, would you have any idea ?

Flags: needinfo?(jonas.jenwald)

S3 because there is a workaround and as far as I know it isn't frequent.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3

The OCG dictionary contains an entry Usage which is specified:
https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf#page=240
and in this pdf, the View layer must be off when the document is printed.

Flags: needinfo?(jonas.jenwald)
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: