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. Qt Font fallback when glyph not found

Qt Font fallback when glyph not found

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 557 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
    Gnomengineer
    wrote on last edited by
    #1

    Hello

    I encountered a problem with my Qt Font setup. I'm using the NotoSans font for multiple languages including Thai and Arabic. I have multiple positions where I have a dot (FULL-STOP) symbol to be translated. Now the problem is that NotoSansThai-Regular (or the arabic one) doesn't support FULL-STOP unicode symbols which ends up in me having the "Tofu" symbol displayed.

    Is there a way to tell Qt that it should use NotoSans-Regular instead of NotoSansThai-Regular whenever it doesn't find a glyph? I don't want to use another font at all and merging the font files is the last I opt to.

    ...
     QT_TRANSLATE_NOOP("ErrorCollection", "System starting up"),
    ...
    

    let me know if you need more information. As this code is restricted to be published i can't probably show more but I'll see.

    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