Results 1 to 2 of 2

Thread: How to scale Qt fonts and screen for target device

  1. #1
    Join Date
    Aug 2016
    Posts
    2
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default How to scale Qt fonts and screen for target device

    Hi All,

    I'm developing UI screen for TFT which has a screen size 480x273.
    I can build and upload my program to the device, but fonts are not displayed on the target device if the font size is less than 70.
    The font size on the host machine is about 10 or 11, but when I put this app on the target it shows no fonts at all. It only shows fonts with size bigger than 70.
    I guess I have an issue with scaling screen on the target device.

    Can anyone help with this problem?

    Thanks,
    Dan

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,419
    Thanks
    37
    Thanked 1,546 Times in 1,496 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to scale Qt fonts and screen for target device

    Is the DPI setting for the embedded screen correct?

    Cheers,
    _

Similar Threads

  1. hindi fonts are not displaying in target
    By sanjeet in forum Qt for Embedded and Mobile
    Replies: 8
    Last Post: 25th February 2019, 06:52
  2. Not able to display unicode fonts on target board
    By krishnakishoreraju in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 3rd April 2013, 09:09
  3. Key mapping for my target device
    By Charvi in forum Qt Programming
    Replies: 2
    Last Post: 11th July 2012, 11:01
  4. Replies: 0
    Last Post: 22nd February 2012, 13:26
  5. Can't scale down fonts below 9pt in Linux
    By wysota in forum General Discussion
    Replies: 0
    Last Post: 18th January 2009, 12:43

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.