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

Unable to disable antialiasing in Qt 5.X.X for QtWebkit component

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.2.0
    • 5.0.0, 5.1.0 , 5.1.1
    • WebKit
    • None
    • Kubuntu 64-bit 12.04

      Linux my-pc 3.2.0-37-generic #58-Ubuntu SMP Thu Jan 24 15:28:10 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
    • 2ad331465c3b19d56edb9b744b66e908f03294d3

    Description

      I am trying to capture a web page using CutyCapt (rev. 10) utility (please see attachment cutycapt-code-10.zip) source code is also available at: http://sourceforge.net/projects/cutycapt/

      Prerequisites:
      antialiasing is disabled, using "~/.fonts.conf" file - see attachment

      Using native QT 4.8.X library in Kubuntu 12.04 LTS the captured screenshot is created correctly, text is sharp and NOT antialiased - (attachment screenshot481.png)

      used command:
      ./CutyCapt --url=http://google.com/ncr --out=/home/vm/google481.png

      Using QT 5.1.1 (binary release) the captured screenshot is created incorrectly, text is still antialiased - (attachment screenshot511.png)

      used command:
      ./CutyCapt --url=http://google.com/ncr --out=/home/vm/google511.png

      Steps to reproduce:

      Prerequisites:
      antialiasing is disabled, using "~/.fonts.conf" file - see attachment

      1) Download QT 5.X.X binary release for linux from http://qt-project.org/downloads
      2) Download attached CutyCapt source code
      3) Build CytyCapt using QT 5.X.X
      4) execute CutyCapt using commands above

      Result:
      Text in captured screenshot is antialiased, but it sould not be antialiased, because antialiasing is disabled.

      Attachments

        1. cutycapt-code-10.zip
          8 kB
          marek knaze
        2. fonts.conf
          0.5 kB
          marek knaze
        3. google481.png
          27 kB
          marek knaze
        4. google511.png
          36 kB
          marek knaze
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            kvas marek knaze
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes