Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. qfontdatabase slowing down my application with flood of "OpenType support missing" warnings
Forum Updated to NodeBB v4.3 + New Features

qfontdatabase slowing down my application with flood of "OpenType support missing" warnings

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 411 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.
  • G Offline
    G Offline
    gaess
    wrote on last edited by
    #1

    Dear forum members
    I'm having a problem with qfontdatabase. It is giving out so many warnings, that my applications stalls for about 15 seconds when run from qtcreator.
    I'm getting many warnings like:
    OpenType support missing for "FreeSerif", script 10 (:0, )
    OpenType support missing for "Noto Sans Imperial Aramaic", script 10 (:0, )
    OpenType support missing for "Noto Sans Javanese", script 10 (:0, )
    .. many more
    OpenType support missing for "", script 10 (:0, )
    ... and a real flood of these without any font name
    They are all for "script 10". The message is coming from qfontdatabase.cpp, lines 722 or 747 (qt 6.4.1). Script 10 is from QChar script enum and stands for QChar::Script_Thaana. The fontdatabase seems to be called by qtquick textedit.
    I'm pretty sure that the problem comes from my linux (debian bookworm), because this behaviour started after a not so well going update of the system.
    Anyhow, rebuilding font cache, installing some opentype fonts did not change anything. The font system actually seems absolutely OK.
    Anyway, as much as I appreciate Qt's ability to display Maledivien writing, why is it looking for that characters? My application runs in english, there is no i18n in place, and the only used fonts are latin.
    Shouldn't that warning be removed from qfontdatabase, as it doesn't help much while causing quite some damage?
    And finally, can anyone give me a hint, how I cloud resolve the issue?

    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