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

Regression: Font color is incorrect at smaller sizes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.8.0
    • 4.8.x
    • GUI: Text handling
    • None
    • Mac OSX 10.6.8
      Qt Creator 2.2.1, Based on Qt 4.7.4 (64 bit)
      Built on Jun 15 2011 at 15:19:06
      From revision 74d015d2a9
    • b3187d850aa6e0a4818e2a982d13aab77ca20a82

    Description

      Font color is lighter than expected when the size is below a certain threshold.
      It's most noticeable on colors which don't have have an 'ff' component ie: '#00ff00 correct, '#00bb00' incorrect.
      This works fine with Qt 4.7

      FontTest.qml
      import QtQuick 1.1
      
      Rectangle {
          width: 360
          height: 360
      
          Text {
              id: text1
              text: "Hello World"
              font.pixelSize: 63 // or anything below 64
              color: '#3463a3'
          }
          Text {
              anchors.top: text1.bottom
              text: text1.text
              font.pixelSize: 64
              color: text1.color
          }
      }
      

      Attachments

        1. FontTest.qml
          0.3 kB
          Greg
        2. fontColor.png
          15 kB
          Greg
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jiang Jiang Jiang
            greg.edwards Greg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes