Results 1 to 2 of 2

Thread: why the font size is different between Qvfb and x86 or arm?

  1. #1
    Join Date
    Sep 2011
    Posts
    30
    Thanks
    6
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default why the font size is different between Qvfb and x86 or arm?

    i'm trying to develop the application with Qvfb for ARM platform, but finally, I find the font size become to bigger in ARM platform when it is fitted in Qvfb. who can help me or give some suggestion? thanks.

  2. #2
    Join Date
    Nov 2010
    Posts
    315
    Thanked 53 Times in 51 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: why the font size is different between Qvfb and x86 or arm?

    Check QFont API, there is two ways of setting font size. One way is using pixel units, other is using some natural units (device dependent).

Similar Threads

  1. Font size int OS
    By medved6 in forum Qt Programming
    Replies: 1
    Last Post: 31st January 2011, 09:26
  2. Font Height and width based on font size
    By Ghufran in forum Qt Programming
    Replies: 1
    Last Post: 31st July 2010, 08:02
  3. Replies: 6
    Last Post: 27th July 2010, 21:07
  4. adjust font size to QLabel-size
    By hunsrus in forum Qt Programming
    Replies: 0
    Last Post: 9th July 2008, 14:33
  5. change font size and button size of QMessageBox
    By nass in forum Qt Programming
    Replies: 6
    Last Post: 13th September 2006, 19:16

Tags for this Thread

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.