Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for WebAssembly
  4. Qt WebGL Font Issues
Forum Updated to NodeBB v4.3 + New Features

Qt WebGL Font Issues

Scheduled Pinned Locked Moved Unsolved Qt for WebAssembly
4 Posts 2 Posters 755 Views 2 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.
  • N Offline
    N Offline
    narayanan.krish
    wrote on 31 Oct 2019, 20:11 last edited by
    #1

    Hello all,
    I've written sample Qt application using Qt 5.13.1 and using WebGL. When I run it on Chrome or Firefox I observe the text fonts are not rendered properly. Could someone pls help me if any variables needs to be set ?

    The application reads values from database using QSqlQueryModel and shown in QML using Flickable and Flow.

    Screenshot attached -
    https://drive.google.com/open?id=1pMNvFaHakRy2ovCDQ5GyZgqMbpWBeZS9

    Any help is greatly appreciated.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lorn.potter
      wrote on 4 Nov 2019, 04:25 last edited by
      #2

      Are you using WebGL directly via javascript/emscripten, or through QOpenGL classes?

      Freelance Software Engineer, Platform Maintainer QtWebAssembly, Maintainer QtSensors
      Author, Hands-On Mobile and Embedded Development with Qt 5 http://bit.ly/HandsOnMobileEmbedded

      N 1 Reply Last reply 4 Nov 2019, 04:56
      0
      • L lorn.potter
        4 Nov 2019, 04:25

        Are you using WebGL directly via javascript/emscripten, or through QOpenGL classes?

        N Offline
        N Offline
        narayanan.krish
        wrote on 4 Nov 2019, 04:56 last edited by narayanan.krish 11 Apr 2019, 04:59
        #3

        @lorn-potter
        Hello,
        I am using WebGL directly. After digging in little more, I observed the issue arises only when we use Label but not happening with the Text component. Also, I’ve raised a bug with Qt regarding this.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          lorn.potter
          wrote on 5 Nov 2019, 09:10 last edited by
          #4

          I am not even sure QtWebGL works with emscripten/ QtWebAssembly

          Freelance Software Engineer, Platform Maintainer QtWebAssembly, Maintainer QtSensors
          Author, Hands-On Mobile and Embedded Development with Qt 5 http://bit.ly/HandsOnMobileEmbedded

          1 Reply Last reply
          0

          4/4

          5 Nov 2019, 09:10

          • Login

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