[Libreoffice-bugs] [Bug 142741] New: Wrong link rectangle calculation while exporing PDF with footnotes when footnote body not on the same page as footnote anchor

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jun 9 16:25:19 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=142741

            Bug ID: 142741
           Summary: Wrong link rectangle calculation while exporing PDF
                    with footnotes when footnote body not on the same page
                    as footnote anchor
           Product: LibreOffice
           Version: 7.1.1.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: graphics stack
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: public at litvinovg.pro

Description:
While exporting document to PDF link annotation has wrong Y coordingate (out of
page area). That making the link effectively unusable and absent for users.

Steps to Reproduce:
1. Create document with footnote, make footnote body move to next page.
2. Export to PDF
3. Verify that footnote anchor in text is not clickable

Actual Results:
No link available. Clicking on footnote anchor does nothing.

Expected Results:
Clicking on footnote anchor should send user to target page with footnote body.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
With page Y dimension 841.889763779528
Y coordinate is out of page size 1627.489

% PDFPage::emit
4 0 obj
<</Type/Page/Parent 8 0 R/Resources 15 0 R/MediaBox[0 0 595.303937007874
841.889763779528]/Group<</S/Transparency/CS/DeviceRGB/I true>>/Contents 5 0 R>>
endobj



% PDFWriterImpl::emitLinkAnnotations
7 0 obj
<</Type/Annot/Subtype/Link/Border[0 0 0]/Rect[56.693 1627.489 60.257
1641.289]/Dest[4 0 R/XYZ 73.7 68.239 0]>>
endobj

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210609/2cfca749/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list