From cyd@stupidchicken.com Sun Apr 20 07:45:55 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Status: No, score=2.5 required=4.0 tests=AWL,RCVD_IN_PBL, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 20 Apr 2008 14:45:55 +0000 Received: from furry (c-98-216-111-182.hsd1.ma.comcast.net [98.216.111.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m3KEjooY021580 for ; Sun, 20 Apr 2008 07:45:51 -0700 Received: by furry (Postfix, from userid 1000) id 2AEDDC047; Sun, 20 Apr 2008 10:45:40 -0400 (EDT) From: Chong Yidong To: submit@debbugs.gnu.org Subject: window-line-height returns spurious OFFBOT values Date: Sun, 20 Apr 2008 10:45:40 -0400 Message-ID: <87zlro1t63.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii This appears to be a bug in the new font code. When Emacs 23 uses a non-fontconfig font, say: Emacs.Font: -misc-fixed-medium-r-normal--13-*-*-*-c-70-iso8859-1 then (window-line-height -1) returns a non-zero OFFBOT element, saying that the last line contains offscreen pixels, when in fact the last line is completely inside the window. To reproduce: (global-set-key [f1] (lambda () (interactive) (message (prin1-to-string (window-line-height -1))))) Typing f1 in the scratch buffer gives me, e.g., (9 39 510 4) ^ Emacs 22, using the exact same font in .Xresources, correctly returns a zero OFFBOT. Furthermore, Emacs 23, using a fontconfig font (Monospace-9), also correctly returns a zero OFFBOT. From cyd@stupidchicken.com Thu May 29 11:37:10 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-2.4 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 152-done) by emacsbugs.donarmstrong.com; 29 May 2008 18:37:11 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4TIb4Ul009785 for <152-done@emacsbugs.donarmstrong.com>; Thu, 29 May 2008 11:37:05 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 810084E3B1; Thu, 29 May 2008 14:32:53 -0400 (EDT) From: Chong Yidong To: 152-done@debbugs.gnu.org Subject: Re: window-line-height returns spurious OFFBOT values Date: Thu, 29 May 2008 14:32:53 -0400 Message-ID: <87fxs1gduy.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > (window-line-height -1) returns a non-zero OFFBOT element, saying that > the last line contains offscreen pixels, when in fact the last line is > completely inside the window. Seems to be fixed now. From unknown Mon Aug 18 08:52:01 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Fri, 27 Jun 2008 14:24:04 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator