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

"QSvgIconEngine::paint" doesn't scale to fractional device pixel ratio

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.6.3, 5.9.0 Beta 1
    • 5.6, 5.7, 5.8
    • SVG Support
    • None
    • 810b6defac666c7652a77b5e4fd5b70a6fbe0c54 02ed4c65618b0f27b9ccb6867ab4d633612415c8

      QSvgIconEngine::paint() uses method which returns integer value, so fractional value (e.g. 1.5) is rounded down. This causes bad painting of SVG icons e.g. in QTreeWidget.
      The method which returns qreal value is available since Qt 5.6.

        For Gerrit Dashboard: QTBUG-59729
        # Subject Branch Project Status CR V

            zaps166 Błażej Szczygieł
            zaps166 Błażej Szczygieł
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes