diff --git a/ChangeLog b/ChangeLog index 322bde86f..04f5fd5b4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,12 +1,3 @@ -2011-12-23 Eric Wasylishen - - * Source/NSView.m (-beginPageInRect:atPlacement:): Always translate - by the placement value. Previously, we would translate only if the - rect parameter was empty, which doesn't make sense to me. - This fixes the bug where the last page of a document printed from - Ink/TextEdit was incorrectly positioned at the bottom of the - printed page. - 2011-12-22 Fred Kiefer * Source/NSTextView.m (-setFieldEditor:): Use different values for diff --git a/Source/NSView.m b/Source/NSView.m index c19e58a4c..bc65d0f08 100644 --- a/Source/NSView.m +++ b/Source/NSView.m @@ -4482,7 +4482,7 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level) } /* Translate to placement */ - if ((location.x != 0 || location.y != 0)) + if ((location.x != 0 || location.y != 0) && NSIsEmptyRect(aRect) == YES) DPStranslate(ctxt, location.x, location.y); // FIXME: Need to place this correctly. Maybe it isn't needed at all,