Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved QT5.9 Text is not smooth

    General and Desktop
    3
    12
    122
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Akshay Bhavsar last edited by

      Hi

      I am using QT 5.9 in my project. Prior to that I was using QT5.5

      Below is difference I am seeing in QT 5.5 and QT5.9

      QT5.5
      58549c78-2f95-4806-8903-09ac2cfe3cb6-image.png

      QT5.9
      8182adce-b48d-44f0-8cbc-02f2cc6ebb41-image.png

      It seems text is not smooth in QT 5.9

      Please suggest me if I am missing something.

      Thanks.

      1 Reply Last reply Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by

        Hi
        Is the on the same PC ?

        1 Reply Last reply Reply Quote 0
        • A
          Akshay Bhavsar last edited by

          Yes @mrjj

          mrjj 1 Reply Last reply Reply Quote 0
          • mrjj
            mrjj Lifetime Qt Champion @Akshay Bhavsar last edited by

            @Akshay-Bhavsar
            Hi
            ok.
            as far as i know, there is no flag to change font smoothing.
            The 5.9 does look smoothed also but not as much as in 5.5

            There does seems to be something changed
            https://lists.qt-project.org/pipermail/interest/2017-December/028911.html
            but if that applies to your platform i dont know.

            1 Reply Last reply Reply Quote 0
            • A
              Akshay Bhavsar last edited by

              Can someone please suggest any possible solution?

              JKSH 1 Reply Last reply Reply Quote 0
              • JKSH
                JKSH Moderators @Akshay Bhavsar last edited by

                @Akshay-Bhavsar What are you using to display the text?

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                1 Reply Last reply Reply Quote 0
                • A
                  Akshay Bhavsar last edited by

                  I am using QML and QT desktop for display

                  JKSH 1 Reply Last reply Reply Quote 0
                  • JKSH
                    JKSH Moderators @Akshay Bhavsar last edited by

                    @Akshay-Bhavsar said in QT5.9 Text is not smooth:

                    I am using QML and QT desktop for display

                    I meant, which Type of object/class are you using to display the text?

                    If it is the Text type, see if the renderType and renderTypeQuality settings can help: https://doc.qt.io/qt-6/qml-qtquick-text.html#renderType-prop

                    Note: Qt 5.9 reached end-of-life in May 2020. Since you are upgrading from Qt 5.5, I strongly suggest you upgrade to at least Qt 5.12 LTS

                    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                    1 Reply Last reply Reply Quote 0
                    • A
                      Akshay Bhavsar last edited by Akshay Bhavsar

                      I am using Text Type
                      I have set renderType: Text.NativeRendering
                      renderTypeQuality is not available in this version
                      antialiasing : true

                      & I am not allowed to change QT version.

                      JKSH 1 Reply Last reply Reply Quote 0
                      • JKSH
                        JKSH Moderators @Akshay Bhavsar last edited by JKSH

                        @Akshay-Bhavsar said in QT5.9 Text is not smooth:

                        renderTypeQuality is not available in this version

                        Ah sorry... I was looking at the Qt 6 documentation.

                        Does changing renderType change the look?

                        I am not allowed to change QT version.

                        That's a bit unfortunate

                        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                        1 Reply Last reply Reply Quote 0
                        • A
                          Akshay Bhavsar last edited by

                          renderType doesnt change the look.

                          regards,
                          Akshay

                          1 Reply Last reply Reply Quote 0
                          • JKSH
                            JKSH Moderators last edited by

                            @Akshay-Bhavsar I hope you find a solution

                            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post