From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#5848: 23.1.95; bands of background after font change if --with-x-toolkit=no Date: Wed, 07 Apr 2010 10:23:54 +0200 Message-ID: <4BBC411A.6030900@swipnet.se> References: <4BBB8360.6030702@swipnet.se> <4BBC27C4.1070801@swipnet.se> <546.1270623160@orpheus.gnusto.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1270634685 23170 80.91.229.12 (7 Apr 2010 10:04:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 7 Apr 2010 10:04:45 +0000 (UTC) Cc: 5848@debbugs.gnu.org To: Ted Phelps Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 07 12:04:43 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NzS7n-0007ET-9K for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Apr 2010 12:04:43 +0200 Original-Received: from localhost ([127.0.0.1]:41901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzS7m-0004Bi-DK for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Apr 2010 06:04:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NzS20-0002lx-3I for bug-gnu-emacs@gnu.org; Wed, 07 Apr 2010 05:58:44 -0400 Original-Received: from [140.186.70.92] (port=42327 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzS1y-0002l3-U0 for bug-gnu-emacs@gnu.org; Wed, 07 Apr 2010 05:58:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NzS1r-0005eE-W5 for bug-gnu-emacs@gnu.org; Wed, 07 Apr 2010 05:58:42 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38195) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzS1r-0005dz-TJ for bug-gnu-emacs@gnu.org; Wed, 07 Apr 2010 05:58:35 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NzRqg-0000Tr-SN; Wed, 07 Apr 2010 05:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Apr 2010 09:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5848 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5848-submit@debbugs.gnu.org id=B5848.12706336031838 (code B ref 5848); Wed, 07 Apr 2010 09:47:02 +0000 Original-Received: (at 5848) by debbugs.gnu.org; 7 Apr 2010 09:46:43 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzRqM-0000Tb-SD for submit@debbugs.gnu.org; Wed, 07 Apr 2010 05:46:43 -0400 Original-Received: from smtprelay-b11.telenor.se ([62.127.194.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzRqK-0000TM-Iw for 5848@debbugs.gnu.org; Wed, 07 Apr 2010 05:46:40 -0400 Original-Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-b11.telenor.se (Postfix) with ESMTP id 98EC8C1CB for <5848@debbugs.gnu.org>; Wed, 7 Apr 2010 10:24:00 +0200 (CEST) X-SENDER-IP: [85.225.45.110] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aoo8AHfeu0tV4S1uPGdsb2JhbACHZJNXDAEBAQE1LboEhQkE X-IronPort-AV: E=Sophos;i="4.51,377,1267398000"; d="scan'208";a="60402205" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb2.telenor.se with ESMTP; 07 Apr 2010 10:23:57 +0200 Original-Received: from anon-48-149.ipredate.net (anon-48-149.ipredate.net [93.182.149.48]) by coolsville.localdomain (Postfix) with ESMTPSA id 7BD7B7FA01A; Wed, 7 Apr 2010 10:23:56 +0200 (CEST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 In-Reply-To: <546.1270623160@orpheus.gnusto.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 07 Apr 2010 05:47:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36019 Archived-At: Ted Phelps skrev 2010-04-07 08.52: > =?ISO-8859-1?Q?Jan_Dj=E4rv?= writes: >> YAMAMOTO Mitsuharu skrev 2010-04-07 02.16: >>> FRAME_COL_TO_PIXEL_X and FRAME_LINE_TO_PIXEL_Y include the left and >>> top side internal border width, respectively. So, the internal border >>> is already counted twice in FRAME_TEXT_COLS_TO_PIXEL_WIDTH and >>> FRAME_TEXT_LINES_TO_PIXEL_HEIGHT above. >> >> Thanks for the clarification. One pixel is still missing though, I'll >> keep looking. > > I've had a closer look and that last pixel is still there when: > > pixelwidth = FRAME_TEXT_COLS_TO_PIXEL_WIDTH (f, cols); > pixelheight = FRAME_TEXT_LINES_TO_PIXEL_HEIGHT (f, rows); > > In this case, there's a one pixel border around the left, bottom and > right edges of the frame. Hopefully this helps you with your search? > Or maybe this is the intended behavior? I'll see if I can upload a > screenshot... > Does this pixel disappear if you set internal border width to 0? I.e: (set-frame-parameter nil 'internal-border-width 0) Anyway, when toolkit-x is no, the wm size hints are off by one pixel, so there is actually (font height)-1 extra pixels. Jan D.