Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Solved Variable font support

    QML and Qt Quick
    1
    2
    437
    Loading More Posts
    • 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
      MeierS last edited by

      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 Reply Quote 1
      • M
        MeierS last edited by

        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 Reply Quote 3
        • First post
          Last post