Results 1 to 2 of 2

Thread: Printing sufficient curve thickness requires explicit increase of curve line width?

  1. #1
    Join Date
    Jun 2008
    Location
    Boulder, Colorado, USA
    Posts
    70
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Printing sufficient curve thickness requires explicit increase of curve line width?

    We're finding that we have to programmatically increase the pen width of all of the curves within our plot DURING PRINTING (to PDF or an actual printer) by a factor of about 20 -- and then restore the normal pen widths for screen display -- in order for those curves to show up in the printed output with anything more than a hairline width. It looks like the rendering algorithm for screen and print output are the same, with no special provision to re-scale curve line thickness for the much higher resolution of print output.

    This is with Qwt 5.2.3. See the accompanying image. Are we missing something? And does Qwt 6.1 (effectively) support curve pen width rescaling for printing?

    bug5325.jpg

    Thank you in advance,
    Phil Weinstein, CADSWES

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,241
    Thanked 860 Times in 809 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Printing sufficient curve thickness requires explicit increase of curve line widt

    Qwt 6 has a floating point based render engine and is using painter transformations ( scaling ) for PDF generation. When using non cosmetic pens ( https://qt-project.org/doc/qt-5.1/qt...tml#isCosmetic ) for the curve the lines in the PDF document will appear comparable to screen.

    Note that when using non cosmetic pens, that the lines will be scaled when zooming in in a PDF viewer too.

    Uwe

  3. The following user says thank you to Uwe for this useful post:

    philw (29th September 2013)

Similar Threads

  1. Replies: 3
    Last Post: 29th September 2013, 18:51
  2. Replies: 11
    Last Post: 5th February 2013, 01:10
  3. Replies: 4
    Last Post: 29th April 2010, 06:11
  4. Replies: 1
    Last Post: 22nd January 2010, 14:34
  5. Replies: 2
    Last Post: 24th April 2009, 17:22

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.