Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-132489

Links to <sup> do not work in PDF

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.2, 6.8.1
    • None
    • Debian GNU/Linux sid amd64
    • Linux/X11

    Description

      In my test case, one has a QTextDocument with a footnote, i.e. ‘Foo ¹’ on top of the file and ‘1. some note’ at the bottom, and with link from the reference to the footnote and backwards.

      When viewing this in a QTextBrowser, all is good, but when exporting to PDF, only one of the links works. It looks like link to <p> works, but link to <sup> does not.

      I attached a C++ source file that generates a PDF, and the PDF file itself. I tested this PDF in Evince and Okular viewers.

      Attachments

        1. test.cpp
          1 kB
          Dmitry Shachnev
        2. test.pdf
          13 kB
          Dmitry Shachnev
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            mandriver Dmitry Shachnev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes