Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.gnustep.bug > #4330

[bug #54307] Wrong margins especially when printing one page

From Fred Kiefer <INVALID.NOREPLY@gnu.org>
Newsgroups gnu.gnustep.bug
Subject [bug #54307] Wrong margins especially when printing one page
Date 2018-07-15 16:58 -0400
Message-ID <mailman.3619.1531688328.1292.bug-gnustep@gnu.org> (permalink)
References <20180713-184526.sv47215.2354@savannah.gnu.org> <20180714-175048.sv431.89064@savannah.gnu.org> <20180714-223622.sv47215.67070@savannah.gnu.org>

Show all headers | View raw


Follow-up Comment #3, bug #54307 (project gnustep):

I tried very hard to understand a bit more of this issue. In the end I found
line 4503 in NSView.m:

  if ((location.x != 0 || location.y != 0) && NSIsEmptyRect(aRect) == YES)

This only applies the following translation when the printed rectangle is
empty. If I remove the last part of the test, a single page print gets
positioned correctly. The question now is, why was this restriction here in
the first place and will it have any negative results on other printing
scenarios?

It really would help here, if you could do some experiments on your side as
well. First to confirm whether this resolves the specific issue and next on
negative side effects.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54307>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/

Back to gnu.gnustep.bug | Previous | Next | Find similar


Thread

[bug #54307] Wrong margins especially when printing one page Fred Kiefer <INVALID.NOREPLY@gnu.org> - 2018-07-15 16:58 -0400

csiph-web