#14399: wxOSX-Cocoa incorrect printer output scaling
The group you are posting to is a
Usenet group . Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From:
"wxTrac" <nore... @wxsite.net>
Date: Tue, 12 Jun 2012 13:31:16 -0000
Local: Tues, Jun 12 2012 9:31 am
Subject: #14399: wxOSX-Cocoa incorrect printer output scaling
Ticket URL: <http://trac.wxwidgets.org/ticket/14399 >
#14399: wxOSX-Cocoa incorrect printer output scaling
-----------------------------------------+--------------------------------- -
Reporter: johnr | Owner: Type: defect | Status: new
Priority: normal | Milestone: 2.9.4
Component: wxOSX-Cocoa | Version: 2.9-svn
Keywords: wxOSX-Cocoa printer scaling | Blockedby: Patch: 0 | Blocking: -----------------------------------------+--------------------------------- -
Scaling is Ok on screen but on paper each wxMM_LOMETRIC unit approximates
one printer pixel. Reverting revision 71500 dcgraph.h/cpp fixes output to
the printer.
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14399 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Tue, 12 Jun 2012 16:35:50 -0000
Local: Tues, Jun 12 2012 12:35 pm
Subject: Re: #14399: wxOSX-Cocoa incorrect printer output scaling
Ticket URL: <http://trac.wxwidgets.org/ticket/14399#comment:1 >
#14399: wxOSX-Cocoa incorrect printer output scaling
-----------------------------------------+--------------------------------- -
Reporter: johnr | Owner: csomor
Type: defect | Status: accepted
Priority: normal | Milestone: 2.9.4 Component: wxOSX-Cocoa | Version: 2.9-svn Keywords: wxOSX-Cocoa printer scaling | Blockedby:
Patch: 0 | Blocking:
-----------------------------------------+--------------------------------- -
Changes (by csomor):
* owner: => csomor
* status: new => accepted
Comment:
Hi John
as r71500 was related to a different bug report, just reverting is not
really a good option, I'd try to find an optimal solution
Best,
Stefan
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14399#comment:1 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Tue, 12 Jun 2012 16:36:48 -0000
Local: Tues, Jun 12 2012 12:36 pm
Subject: Re: #14399: wxOSX-Cocoa incorrect printer output scaling
Ticket URL: <http://trac.wxwidgets.org/ticket/14399#comment:2 >
#14399: wxOSX-Cocoa incorrect printer output scaling
-----------------------------------------+--------------------------------- -
Reporter: johnr | Owner: csomor
Type: defect | Status: accepted
Priority: normal | Milestone: 2.9.4 Component: wxOSX-Cocoa | Version: 2.9-svn Keywords: wxOSX-Cocoa printer scaling | Blockedby:
Patch: 0 | Blocking:
-----------------------------------------+--------------------------------- -
Comment(by csomor):
Replying to [comment:1 csomor]:
> I'd try to find an optimal solution
sorry, I meant to write I will try to find ...
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14399#comment:2 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Wed, 13 Jun 2012 01:44:17 -0000
Local: Tues, Jun 12 2012 9:44 pm
Subject: Re: #14399: wxOSX-Cocoa incorrect printer output scaling
Ticket URL: <http://trac.wxwidgets.org/ticket/14399#comment:3 >
#14399: wxOSX-Cocoa incorrect printer output scaling
-----------------------------------------+--------------------------------- -
Reporter: johnr | Owner: csomor
Type: defect | Status: accepted
Priority: normal | Milestone: 2.9.4 Component: wxOSX-Cocoa | Version: 2.9-svn Keywords: wxOSX-Cocoa printer scaling | Blockedby:
Patch: 0 | Blocking:
-----------------------------------------+--------------------------------- -
Comment(by johnr):
Replying to [comment:1 csomor]:
> as r71500 was related to a different bug report, just reverting is not
really a good option, I'd try to find an optimal solution
Agreed Stefan, that was just the result of my debugging and I also needed
it to work yesterday.
> sorry, I meant to write I will try to find ...
> Stefan
Nice to know I am not on my own with this one :) There are other
idiosyncrasies with clipping regions and scaling along with linear
gradient fill printing crashes but other than slowly becoming familiar
with the code I haven't had any brain surfing moments.
John
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14399#comment:3 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Wed, 13 Jun 2012 06:23:04 -0000
Local: Wed, Jun 13 2012 2:23 am
Subject: Re: #14399: wxOSX-Cocoa incorrect printer output scaling
Ticket URL: <http://trac.wxwidgets.org/ticket/14399#comment:4 >
#14399: wxOSX-Cocoa incorrect printer output scaling
-----------------------------------------+--------------------------------- -
Reporter: johnr | Owner: csomor
Type: defect | Status: accepted
Priority: normal | Milestone: 2.9.4 Component: wxOSX-Cocoa | Version: 2.9-svn Keywords: wxOSX-Cocoa printer scaling | Blockedby:
Patch: 0 | Blocking:
-----------------------------------------+--------------------------------- -
Comment(by robind):
Just FYI, I also ran into this scaling issue tonight. It was kind of
funny to see a whole page reduced to the size of a postage stamp when
printed. :-)
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14399#comment:4 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
jmfauth <wxjmfa... @gmail.com>
Date: Wed, 13 Jun 2012 00:57:29 -0700 (PDT)
Local: Wed, Jun 13 2012 3:57 am
Subject: Re: #14399: wxOSX-Cocoa incorrect printer output scaling
On 13 juin, 03:44, "wxTrac" <nore... @wxsite.net> wrote:
> Replying to [comment:1 csomor]:
> > as r71500 was related to a different bug report, just reverting is not
> really a good option, I'd try to find an optimal solution
> Agreed Stefan, that was just the result of my debugging and I also needed
> it to work yesterday.
> > sorry, I meant to write I will try to find ...
> > Stefan
> Nice to know I am not on my own with this one :) There are other
> idiosyncrasies with clipping regions and scaling along with linear
> gradient fill printing crashes but other than slowly becoming familiar
> with the code I haven't had any brain surfing moments.
> John
Yes, see
http://groups.google.com/group/wx-dev/browse_thread/thread/eede5b22e0...
And an image:
(I do not know how to put working link via Google group!)
http: img602 . imageshack . us img602 362 wx2829.png
jmf
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Wed, 13 Jun 2012 09:08:19 -0000
Local: Wed, Jun 13 2012 5:08 am
Subject: Re: #14399: wxOSX-Cocoa incorrect printer output scaling
Ticket URL: <http://trac.wxwidgets.org/ticket/14399#comment:5 >
#14399: wxOSX-Cocoa incorrect printer output scaling
-----------------------------------------+--------------------------------- -
Reporter: johnr | Owner: csomor
Type: defect | Status: accepted
Priority: normal | Milestone: 2.9.4 Component: wxOSX-Cocoa | Version: 2.9-svn Keywords: wxOSX-Cocoa printer scaling | Blockedby:
Patch: 0 | Blocking:
-----------------------------------------+--------------------------------- -
Comment(by johnr):
Replying to [comment:4 robind]:
> Just FYI, I also ran into this scaling issue tonight. It was kind of
funny to see a whole page reduced to the size of a postage stamp when
printed. :-)
A bit of humour always helps :)
The other oddity I noticed with a grid rendered directly to a
wxPrintPreview frame was that on MSW the zoom works well and all
components enlarge or shrink appropriately but on wxOSX-Cocoa the grid
size doesn't change when zoomed although other components do. My use of
SetUserScale is ok in msw but not osx.
There are some callback functions in wxosx printing or graphics code and I
note that, when printing, dc->EndPage is called before linear gradient
fill occurs, at least when xCode debugging.
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14399#comment:5 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Wed, 13 Jun 2012 17:15:51 -0000
Local: Wed, Jun 13 2012 1:15 pm
Subject: Re: #14399: wxOSX-Cocoa incorrect printer output scaling
Ticket URL: <http://trac.wxwidgets.org/ticket/14399#comment:6 >
#14399: wxOSX-Cocoa incorrect printer output scaling
-----------------------------------------+--------------------------------- -
Reporter: johnr | Owner: csomor
Type: defect | Status: accepted
Priority: normal | Milestone: 2.9.4 Component: wxOSX-Cocoa | Version: 2.9-svn Keywords: wxOSX-Cocoa printer scaling | Blockedby:
Patch: 0 | Blocking:
-----------------------------------------+--------------------------------- -
Comment(by csomor):
I used to have everything set-up to 72 dpi internally once for printing,
but in the meanwhile we really do have all information needed to truly
expose the real dpi of the printer, so I hope I'll get the ends to meet
again ..
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14399#comment:6 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Tue, 26 Jun 2012 16:43:31 -0000
Local: Tues, Jun 26 2012 12:43 pm
Subject: Re: #14399: wxOSX-Cocoa incorrect printer output scaling
Ticket URL: <http://trac.wxwidgets.org/ticket/14399#comment:7 >
#14399: wxOSX-Cocoa incorrect printer output scaling
-----------------------------------------+--------------------------------- -
Reporter: johnr | Owner: Type: defect | Status: new
Priority: normal | Milestone: 2.9.4
Component: wxOSX-Cocoa | Version: 2.9-svn
Keywords: wxOSX-Cocoa printer scaling | Blockedby: Patch: 0 | Blocking: -----------------------------------------+--------------------------------- -
Changes (by robind):
* owner: csomor =>
* status: accepted => new
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14399#comment:7 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Tue, 26 Jun 2012 16:43:36 -0000
Local: Tues, Jun 26 2012 12:43 pm
Subject: Re: #14399: wxOSX-Cocoa incorrect printer output scaling
Ticket URL: <http://trac.wxwidgets.org/ticket/14399#comment:8 >
#14399: wxOSX-Cocoa incorrect printer output scaling
-----------------------------------------+--------------------------------- -
Reporter: johnr | Owner: robind
Type: defect | Status: accepted
Priority: normal | Milestone: 2.9.4 Component: wxOSX-Cocoa | Version: 2.9-svn Keywords: wxOSX-Cocoa printer scaling | Blockedby:
Patch: 0 | Blocking:
-----------------------------------------+--------------------------------- -
Changes (by robind):
* owner: => robind
* status: new => accepted
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14399#comment:8 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Tue, 26 Jun 2012 18:25:31 -0000
Local: Tues, Jun 26 2012 2:25 pm
Subject: Re: #14399: wxOSX-Cocoa incorrect printer output scaling
Ticket URL: <http://trac.wxwidgets.org/ticket/14399#comment:9 >
#14399: wxOSX-Cocoa incorrect printer output scaling
--------------------------+------------------------------------------------ -
Reporter: johnr | Owner: robind Type: defect | Status: closed Priority: normal | Milestone: 2.9.4
Component: wxOSX-Cocoa | Version: 2.9-svn
Resolution: fixed | Keywords: wxOSX-Cocoa printer scaling
Blockedby: | Patch: 0
Blocking: |
--------------------------+------------------------------------------------ -
Changes (by RD):
* status: accepted => closed
* resolution: => fixed
Comment:
(In [71866]) Don't hide the m_mm_to_pix_x and m_mm_to_pix_y in the base
class by redefining them in a derived class. Fixes #14399.
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14399#comment:9 >
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"wxTrac" <nore... @wxsite.net>
Date: Tue, 26 Jun 2012 18:54:36 -0000
Local: Tues, Jun 26 2012 2:54 pm
Subject: Re: #14399: wxOSX-Cocoa incorrect printer output scaling
Ticket URL: <http://trac.wxwidgets.org/ticket/14399#comment:10 >
#14399: wxOSX-Cocoa incorrect printer output scaling
--------------------------+------------------------------------------------ -
Reporter: johnr | Owner: robind Type: defect | Status: closed Priority: normal | Milestone: 2.9.4
Component: wxOSX-Cocoa | Version: 2.9-svn
Resolution: fixed | Keywords: wxOSX-Cocoa printer scaling
Blockedby: | Patch: 0
Blocking: |
--------------------------+------------------------------------------------ -
Comment(by csomor):
perfect, thanks a lot :-)
--
Ticket URL: <http://trac.wxwidgets.org/ticket/14399#comment:10 >
You must
Sign in before you can post messages.
You do not have the permission required to post.