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

When copying text from a printed PDF from QtWebKit the font size and font is not the same as expected

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.5.1, 5.8.0
    • Fix Version/s: None
    • Component/s: WebKit
    • Environment:
      Windows 7

      Description

      When copying text from a printed PDF from QtWebKit the font size and font is not the same as expected. In the example the font size changes from 12pt to 14.5 pt and font family from Calibri to CalibriRegular. When using CalibriRegular in the HTML file, the result font family changes to TimesNewRoman.

      This only happens when it comes from QtWebKit and seems to be down to the font being used when rendering which is then passed on to the PDF

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            annulen Konstantin Tokarev
            Reporter:
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes