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

[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.
  • Raistlin MajereR Offline
    Raistlin MajereR Offline
    Raistlin Majere
    wrote on 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
    0
    • Raistlin MajereR Raistlin Majere

      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 last edited by
      #2

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

      Raistlin MajereR 1 Reply Last reply
      1
      • ? A Former User

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

        Raistlin MajereR Offline
        Raistlin MajereR Offline
        Raistlin Majere
        wrote on 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 :)

        RokeJulianLockhartR 1 Reply Last reply
        0
        • Raistlin MajereR Raistlin Majere

          @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 :)

          RokeJulianLockhartR Offline
          RokeJulianLockhartR Offline
          RokeJulianLockhart
          wrote on 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