Open Bug 1868784 Opened 2 years ago Updated 2 years ago

Printing to pdf a link leads to several link annotations

Categories

(Core :: Printing: Output, defect)

Firefox 122
defect

Tracking

()

Tracking Status
firefox122 --- affected

People

(Reporter: calixte, Unassigned)

Details

Attachments

(2 files)

Attached file plop.html

STR:

  • open plop.html
  • print save it to PDF.

The pdf contains 2 identical link annotations.

When printing the following page:
https://support.mozilla.org/fr/kb/verificateur-avis-evaluations-qualite

for each link we have 3 link annotations.

Attached file plop.html.pdf

The generated pdf contains objects 10 and 11 which are link annotations.

After printing to PDF on Nightly 122 & disassembling the PDF:

%% Original object ID: 10 0
9 0 obj 
<<
  /A <<
    /S /URI
    /Type /Action
    /URI (https://www.mozilla.org/)
  >>  
  /BS <<
    /W 0
  >>  
  /QuadPoints [
    42  
    750 
    86.5
    750 
    86.5
    735.5
    42  
    735.5
  ]
  /Rect [
    42  
    735 
    87  
    750 
  ]
  /StructParent 0
  /Subtype /Link
  /Type /Annot
>>
endobj

%% Original object ID: 11 0
10 0 obj 
<<
  /A <<
    /S /URI
    /Type /Action
    /URI (https://www.mozilla.org/)
  >>  
  /BS <<
    /W 0
  >>  
  /QuadPoints [
    42  
    750 
    86.5
    750 
    86.5
    735.5
    42  
    735.5
  ]
  /Rect [
    42  
    735 
    87  
    750 
  ]
  /StructParent 1
  /Subtype /Link
  /Type /Annot
>>
endobj
Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: