Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Same font differs in thickness in qt 5.3 and 5.15.
Forum Updated to NodeBB v4.3 + New Features

Same font differs in thickness in qt 5.3 and 5.15.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 209 Views 1 Watching
  • 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
    Marolif
    wrote on last edited by
    #1

    Hello,
    I have taken a font sample application from qt version 5.3 and 5.15 (https://doc.qt.io/qt-5/qtwidgets-painting-fontsampler-example.html). I cross compiled it for linux AM335X target. The output of Helvetica font appears to be slightly different with respect to font thickness on both the versions. Can you help me understand why there is a difference in the appearance of same font on same target?

    1 Reply Last reply
    0
    • Axel SpoerlA Offline
      Axel SpoerlA Offline
      Axel Spoerl
      Moderators
      wrote on last edited by
      #2

      Qt doesn't implement its own fonts, and to my knowledge that was already the case in 5.3.
      Probably your AM335X has no Helvetica font installed on the system. In that case, Qt tries to find the closest match. The only thing that comes to mind is that Qt 5.3 and 5.15 have different opinions on what is the closest match.

      Software Engineer
      The Qt Company, Oslo

      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