From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Phelps 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 16:52:40 +1000 Message-ID: <546.1270623160@orpheus.gnusto.com> References: <4BBB8360.6030702@swipnet.se> <4BBC27C4.1070801@swipnet.se> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1270634479 22495 80.91.229.12 (7 Apr 2010 10:01:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 7 Apr 2010 10:01:19 +0000 (UTC) Cc: 5848@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= , YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 07 12:01:18 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 1NzS4O-0005u7-I0 for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Apr 2010 12:01:12 +0200 Original-Received: from localhost ([127.0.0.1]:53909 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzS4N-0003G8-Ei for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Apr 2010 06:01:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NzS1w-0002in-1h for bug-gnu-emacs@gnu.org; Wed, 07 Apr 2010 05:58:40 -0400 Original-Received: from [140.186.70.92] (port=42254 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzS1r-0002gm-Um for bug-gnu-emacs@gnu.org; Wed, 07 Apr 2010 05:58:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NzS1n-0005cF-KA for bug-gnu-emacs@gnu.org; Wed, 07 Apr 2010 05:58:35 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38185) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzS1m-0005bs-S2 for bug-gnu-emacs@gnu.org; Wed, 07 Apr 2010 05:58:31 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NzRxS-0000Wv-2e; Wed, 07 Apr 2010 05:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ted Phelps 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:54: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.12706339942031 (code B ref 5848); Wed, 07 Apr 2010 09:54:02 +0000 Original-Received: (at 5848) by debbugs.gnu.org; 7 Apr 2010 09:53:14 +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 1NzRwg-0000Wi-Fe for submit@debbugs.gnu.org; Wed, 07 Apr 2010 05:53:14 -0400 Original-Received: from laika.gnusto.com ([207.44.178.75]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzRwe-0000Wd-Oy for 5848@debbugs.gnu.org; Wed, 07 Apr 2010 05:53:13 -0400 Original-Received: from gnusto.com (orpheus.ipv6.gnusto.com [IPv6:2001:44b8:72d8:1a0:204:bff:fe80:8080]) by laika.gnusto.com (8.14.3/8.14.3) with ESMTP id o376qmUN021968 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Apr 2010 01:52:50 -0500 Original-Received: from orpheus.gnusto.com (localhost [127.0.0.1]) by gnusto.com (8.14.4/8.14.4) with ESMTP id o376qefN000547; Wed, 7 Apr 2010 16:52:41 +1000 In-reply-to: Your message of Wed, 07 Apr 2010 08:35:48 +0200. <4BBC27C4.1070801@swipnet.se> X-Mailer: MH-E 8.2; nmh 1.3-20091227; GNU Emacs 23.1.95 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 07 Apr 2010 05:54: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:36015 Archived-At: =?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... Thanks, -Ted