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

Path csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Fred Kiefer <INVALID.NOREPLY@gnu.org>
Newsgroups gnu.gnustep.bug
Subject [bug #54307] Wrong margins especially when printing one page
Date Sun, 15 Jul 2018 16:58:42 -0400 (EDT)
Lines 28
Approved bug-gnustep@gnu.org
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>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain;charset=UTF-8
X-Trace usenet.stanford.edu 1531688329 21550 208.118.235.17 (15 Jul 2018 20:58:49 GMT)
X-Complaints-To action@cs.stanford.edu
To Fred Kiefer <FredKiefer@gmx.de>, Yavor Doganov <yavor@gnu.org>, bug-gnustep@gnu.org
Envelope-to bug-gnustep@gnu.org
X-PHP-Originating-Script 1001:sendmail.php
X-Savane-Server savannah.gnu.org:443 [208.118.235.79]
X-Savane-Project gnustep
X-Savane-Tracker bugs
X-Savane-Item-ID 54307
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0
X-Apparently-From 87.123.205.204 (Savane authenticated user FredKiefer)
In-Reply-To <20180714-223622.sv47215.67070@savannah.gnu.org>
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From 208.118.235.79
X-BeenThere bug-gnustep@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNUstep programming environment <bug-gnustep.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-gnustep>, <mailto:bug-gnustep-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-gnustep/>
List-Post <mailto:bug-gnustep@gnu.org>
List-Help <mailto:bug-gnustep-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-gnustep>, <mailto:bug-gnustep-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.gnustep.bug:4330

Show key headers only | 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