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. custom font in Qt 5.7, always bold

custom font in Qt 5.7, always bold

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

    Hi,
    I'm developing using Qt 5.7 in Ubuntu 16.04. I installed two fonts (Roboto-Bold and Roboto-Light) copying relative ttf files in .font folder in home and running fc-cache -fv. Everything seems fine and I can use those fonts in libreoffice for example. However in Qt Creator, designer I cannot assign light font to a label, it always take the bold one.
    If I just install the light font (don't install Roboto-Bold) I can assign it in designer, but is not what I want.
    Same issue in Ubuntu 14.04, if I install all the flavours of Roboto fonts, only the bold is assigned to labels, but If I just install bold and light, works as workaround (not in Ubuntu 16 as I mentioned).
    Any hints?

    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