Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. The font in QML is not smooth, in windows
Forum Updated to NodeBB v4.3 + New Features

The font in QML is not smooth, in windows

Scheduled Pinned Locked Moved QML and Qt Quick
21 Posts 8 Posters 15.9k Views 1 Watching
  • 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.
  • B Offline
    B Offline
    bellnas
    wrote on last edited by
    #7

    winxp and win7 is the same question
    font can display correctly in windows and ubuntu,
    and the font look better in ubuntu than windows
    you can see here
    !http://www.flickr.com/photos/42560763@N06/5301788393/()!
    upper is in win7 ,and following is in ubuntu, at the same computer,
    you can see carefully ,carefully

    1 Reply Last reply
    0
    • X Offline
      X Offline
      xsacha
      wrote on last edited by
      #8

      The bottom one looks smoother/nicer on my screen. That is Windows 7?

      However, on closer inspection, the only issue with the top one appears to be JPEG artifacting.

      • Sacha
      1 Reply Last reply
      0
      • B Offline
        B Offline
        bellnas
        wrote on last edited by
        #9

        I was confused , sorry. the upper is in win7 and the following is in ubuntu

        1 Reply Last reply
        0
        • X Offline
          X Offline
          xsacha
          wrote on last edited by
          #10

          Do you have Windows ClearType on?

          Also, can you take your screenshots as PNG? There is crazy JPEG artifacting in the Windows image which makes it hard to compare.

          I think it is all down to the operating systems rendering unfortunately. Qt doesn't mess with that.

          • Sacha
          1 Reply Last reply
          0
          • B Offline
            B Offline
            bellnas
            wrote on last edited by
            #11

            I take shot from win7 and ubuntu at my laptop
            in win7
            http://www.flickr.com/photos/42560763@N06/5302659990/

            in linux
            http://www.flickr.com/photos/42560763@N06/5302064907/

            @
            ///////////////////
            import QtQuick 1.0

            Item {
            width: 800; height: 600
            Text {
            anchors.fill: parent
            text: "As a boy, Chris Cooley watched his father dabble at the potter’s wheel; after his football career, he plans to keep pottery in his life.核心提示:由于上座率低,上海至北京的一趟动卧车将在2011年1月5日被全部改造成普通软卧。此前媒体曝光上海至成都的豪华动卧最贵票价达2330元,有舆论批评开出这种低上座率班次是浪费春运的运力,铁路方面则回应这是中国发展的需要。"
            font.family: "simhei"; font.pointSize: 30
            wrapMode: Text.WordWrap
            }
            }
            ///////////////////////////
            @

            [EDIT: added @-tags for code formatting, Volker]

            1 Reply Last reply
            0
            • I Offline
              I Offline
              ixSci
              wrote on last edited by
              #12

              It seems you are right. I've just tested your example and it is not smooth in the QML but smooth in the MS Word. Maybe you should file bugreport?

              1 Reply Last reply
              0
              • X Offline
                X Offline
                xsacha
                wrote on last edited by
                #13

                It seems nothing to do with the Chinese characters either. The English ones in that screenshot have the same problem.

                • Sacha
                1 Reply Last reply
                0
                • B Offline
                  B Offline
                  bellnas
                  wrote on last edited by
                  #14

                  No one has enconter the problem in windows?

                  1 Reply Last reply
                  0
                  • I Offline
                    I Offline
                    ixSci
                    wrote on last edited by
                    #15

                    bellnas, maybe no one use such a big font in their projects. You've encountered the problem feel free to file a bug to trolls if you want this bug to be fixed.

                    1 Reply Last reply
                    0
                    • C Offline
                      C Offline
                      CreMindES
                      wrote on last edited by
                      #16

                      I've created a "bugreport":http://bugreports.qt.nokia.com/browse/QTCOMPONENTS-319 . ;)

                      1 Reply Last reply
                      0
                      • C Offline
                        C Offline
                        CreMindES
                        wrote on last edited by
                        #17

                        p.s. "The guys are quite fast":http://bugreports.qt.nokia.com/browse/QTCOMPONENTS (see the graph), but be patient because of the time now, I think we will soon have get some progress ;)

                        1 Reply Last reply
                        0
                        • D Offline
                          D Offline
                          DenisKormalev
                          wrote on last edited by
                          #18

                          CreMindES, I think you chose wrong project :) Qt is more applicable for it.

                          1 Reply Last reply
                          0
                          • C Offline
                            C Offline
                            CreMindES
                            wrote on last edited by
                            #19

                            It's a QML problem if I am right which is a part of the Qt Quick, but that will be our smallest problem I think...

                            1 Reply Last reply
                            0
                            • D Offline
                              D Offline
                              DenisKormalev
                              wrote on last edited by
                              #20

                              CreMindES, yes, but Qt Quick != Qt Quick Components :) But i think trolls will handle it.

                              1 Reply Last reply
                              0
                              • C Offline
                                C Offline
                                CreMindES
                                wrote on last edited by
                                #21

                                I think we misunderstand each other, or you wrote wrong, QML is part of Qt Quick...

                                But yes, trolls fix it, if it doesn't belong to that category, we will see ;)

                                1 Reply Last reply
                                0

                                • Login

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • Users
                                • Groups
                                • Search
                                • Get Qt Extensions
                                • Unsolved