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. [SOLVED] Bad QML font rendering in Kubuntu 15.04
QtWS25 Last Chance

[SOLVED] Bad QML font rendering in Kubuntu 15.04

Scheduled Pinned Locked Moved QML and Qt Quick
qmlrenderinglinuxkde linux distrfontengine
4 Posts 3 Posters 1.9k Views
  • 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.
  • R Offline
    R Offline
    Raistlin Majere
    wrote on 23 Jul 2015, 06:41 last edited by Raistlin Majere
    #1

    Good time of day :)
    I`m newbie in QT and have weird troubles with font rendering of QML Text component. Code is very simple:

    import QtQuick 2.0
    Rectangle {
        width: 800
        height: 600
        color: "#000000"
        Text {
            x: 339
            y: 293
            text: "Bad rendered text :("
            color: "#ffffff"
        }
    }
    

    And I get this terrible mess of pixels.

    Is there a way to make it render properly?

    ? 1 Reply Last reply 23 Jul 2015, 12:00
    0
    • R Raistlin Majere
      23 Jul 2015, 06:41

      Good time of day :)
      I`m newbie in QT and have weird troubles with font rendering of QML Text component. Code is very simple:

      import QtQuick 2.0
      Rectangle {
          width: 800
          height: 600
          color: "#000000"
          Text {
              x: 339
              y: 293
              text: "Bad rendered text :("
              color: "#ffffff"
          }
      }
      

      And I get this terrible mess of pixels.

      Is there a way to make it render properly?

      ? Offline
      ? Offline
      A Former User
      wrote on 23 Jul 2015, 12:00 last edited by
      #2

      @Raistlin-Majere Hi, that looks terrible, indeed. ^_^
      As a workaround, maybe using Text { renderType: Text.NativeRendering } might do.

      R 1 Reply Last reply 23 Jul 2015, 12:53
      1
      • ? A Former User
        23 Jul 2015, 12:00

        @Raistlin-Majere Hi, that looks terrible, indeed. ^_^
        As a workaround, maybe using Text { renderType: Text.NativeRendering } might do.

        R Offline
        R Offline
        Raistlin Majere
        wrote on 23 Jul 2015, 12:53 last edited by
        #3

        @Wieland
        Thank You. It helps when program is running, but it does nothing in QT Creator designer.
        Anyway it is enough for me :)
        Thank You again :)

        R 1 Reply Last reply 29 Apr 2023, 22:08
        0
        • R Raistlin Majere
          23 Jul 2015, 12:53

          @Wieland
          Thank You. It helps when program is running, but it does nothing in QT Creator designer.
          Anyway it is enough for me :)
          Thank You again :)

          R Offline
          R Offline
          RokeJulianLockhart
          wrote on 29 Apr 2023, 22:08 last edited by
          #4

          @Raistlin-Majere, could be that QT Designer itself needs to set that flag. Perhaps report it to the relevant bugtracker.

          When using a forum, remember to tag the person you are responding to, in case they are not subscribed to the thread.

          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