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 768 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 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
    • lorn.potterL Offline
      lorn.potterL Offline
      lorn.potter
      wrote on 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
      0
      • lorn.potterL lorn.potter

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

        N Offline
        N Offline
        narayanan.krish
        wrote on last edited by narayanan.krish
        #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
        • lorn.potterL Offline
          lorn.potterL Offline
          lorn.potter
          wrote on 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

          • Login

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