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. Variable font support

Variable font support

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 1 Posters 1.2k 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.
  • M Offline
    M Offline
    MeierS
    wrote on last edited by
    #1

    Hi,

    the advantages of variable fonts arouse my curiosity. I've watched this video from last years Tech Con (https://resources.qt.io/videos/variable-fonts-creating-a-better-in-car-ux-for-consumers-monotype-qt-virtual-tech-con-2020) and I'm wondering now, how I can use variable fonts in my application.
    I have a TrueType variable Font with multiple instances, but when I set it via QFontDatabase::addApplicationFont only the "base" family is available. So my question is weather variable fonts are supproted in Qt at all?
    I'm using Qt5.15.2 which comes with FreeType 2.10.1, so the FreeType should already support it.

    Thanks and regards
    Simon

    1 Reply Last reply
    1
    • M Offline
      M Offline
      MeierS
      wrote on last edited by
      #2

      I finally got the information by eMail, that variable fonts are currently not supported and also will not be in the near future:

      „I am afraid that the MonoType font feature which is what is meant by the Variable Fonts feature is only available for Qt for MCUs, there is no plan, that I am aware of, which would enable this for the other Qt products as of right now.”

      1 Reply Last reply
      3

      • Login

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