Results 1 to 4 of 4

Thread: QTextDocument font size wildly different when printing on Windows vs OS X

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: QTextDocument font size wildly different when printing on Windows vs OS X

    Use QPrinter::setResolution() and an explicit default font.

  2. The following user says thank you to Lykurg for this useful post:

    NicholasSmith (10th March 2010)

Similar Threads

  1. Edit QTextDocument for printing
    By ericV in forum Qt Programming
    Replies: 0
    Last Post: 29th July 2009, 12:45
  2. QTextDocument printing - specify font size?
    By Scorp1us in forum Qt Programming
    Replies: 3
    Last Post: 1st March 2007, 15:25
  3. QTextDocument - color, font
    By kemp in forum Qt Programming
    Replies: 6
    Last Post: 24th January 2007, 13:51
  4. change font size and button size of QMessageBox
    By nass in forum Qt Programming
    Replies: 6
    Last Post: 13th September 2006, 19:16
  5. Replies: 0
    Last Post: 28th June 2006, 20:49

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
  •  
Qt is a trademark of The Qt Company.