From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#10178: 24.0.92; emacs -q frame too short for fancy splash image Date: Sun, 11 Dec 2011 17:40:37 +0100 Message-ID: <87k463rri2.fsf@escher.fritz.box> References: <8762i0wuh9.fsf@escher.fritz.box> <87iplw8m3e.fsf@escher.fritz.box> <87zkf4e712.fsf@mail.jurta.org> <87mxb46oaj.fsf@gmx.net> <7A28C1C8-7C61-4723-B1DA-0C8003561CA6@swipnet.se> <87ehwctq7j.fsf@escher.fritz.box> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1323621668 5571 80.91.229.12 (11 Dec 2011 16:41:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 11 Dec 2011 16:41:08 +0000 (UTC) Cc: 10178@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 11 17:41:03 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RZmSS-0002SK-Df for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Dec 2011 17:41:00 +0100 Original-Received: from localhost ([::1]:42813 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZmSR-0002qw-W7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Dec 2011 11:40:59 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:55941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZmSP-0002qr-1H for bug-gnu-emacs@gnu.org; Sun, 11 Dec 2011 11:40:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RZmSN-0001BY-EZ for bug-gnu-emacs@gnu.org; Sun, 11 Dec 2011 11:40:56 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33680) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZmSN-0001BN-Br for bug-gnu-emacs@gnu.org; Sun, 11 Dec 2011 11:40:55 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RZmTS-0006eM-0Y for bug-gnu-emacs@gnu.org; Sun, 11 Dec 2011 11:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Dec 2011 16:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10178 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10178-submit@debbugs.gnu.org id=B10178.132362171025546 (code B ref 10178); Sun, 11 Dec 2011 16:42:01 +0000 Original-Received: (at 10178) by debbugs.gnu.org; 11 Dec 2011 16:41:50 +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 1RZmTG-0006dy-GP for submit@debbugs.gnu.org; Sun, 11 Dec 2011 11:41:50 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1RZmTD-0006do-M0 for 10178@debbugs.gnu.org; Sun, 11 Dec 2011 11:41:49 -0500 Original-Received: (qmail invoked by alias); 11 Dec 2011 16:40:38 -0000 Original-Received: from i59F548CB.versanet.de (EHLO escher.fritz.box) [89.245.72.203] by mail.gmx.net (mp072) with SMTP; 11 Dec 2011 17:40:38 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX18S8ek2HdUSbcKs+/SMvb8W0UJZ9zjkJUKgiMcXv+ JVPSd8Yvoig+Sf In-Reply-To: ("Jan \=\?utf-8\?Q\?Dj\=C3\=A4rv\=22's\?\= message of "Sun, 11 Dec 2011 13:00:57 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 11 Dec 2011 11:42:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54892 Archived-At: On Sun, 11 Dec 2011 13:00:57 +0100 Jan Dj=C3=A4rv wrot= e: > 10 dec 2011 kl. 16:13 skrev Stephen Berman: > >> On Sat, 10 Dec 2011 14:13:25 +0100 Jan Dj=C3=A4rv w= rote: >>=20 >> I get: >>=20 >> ["-unknown-DejaVu Sans Mono-normal-normal-normal-*-12-*-*-*-m-0-iso10646= -1" >> "DejaVu Sans >> Mono:pixelsize=3D12:foundry=3Dunknown:weight=3Dnormal:slant=3Dnormal:wid= th=3Dnormal:spacing=3D100:scalable=3Dtrue" >> 12 14 0 0 0] >>=20 >>> 15 is the font height (i.e. 217 / 15 =3D 14.466666...). Do you have th= at? >>=20 >> No, but 217/14 =3D 15.5, which is what image-size shows here. >>=20 >> I have DejaVu version 2.33, Freetype2 version 2.4.7, and >> xorg-x11-libXpm-devel version 7.6. > > Aha! I have freetype2 version 2.4.4, but if I install 2.4.7 I also get f= ont > height 14 and image height 15.5. Thanks for checking and confirming. > In the changelog for freetype2 there is a reference to here: > > http://lists.gnu.org/archive/html/freetype-devel/2011-07/msg00049.html > > where a change in font metrics for 2.4.6 is discussed. Quote: > > "The changes result in better, more consistent line spacing. > DejaVu got one point smaller, there is nothing wrong with > that too." > > So I guess Emacs does the right thing after all. However, we could think > about changing the condition for showing the splash image or shrinking the > splash image or reduce the amount of text. I think slightly shrinking the image -- either unconditionally or conditioned on the value of image-height? -- would be fine. Or, as I noted earlier, I also get the image if frame-height is 36 instead of the current default of 35. > Is the font you use default on Suse? In that case the splash image won't= show > up by default on Suse. Actually, although I reported earlier in this thread that starting the Emacs that comes with openSUSE 12.1 (23.3) with -q also does not show the fancy splash screen, I had neglected to remove my .Xresources setting for Emacs, which specifies DejaVu 10 (which is actually 12pt, as shown above); when I remove that resource, both openSUSE's Emacs 23.3 and Emacs 24 from the trunk started with -q do show the fancy splash screen. This is because the font height is 19 by distribution default. However, this also results in the final two lines of the splash screen -- "If an Emacs session crashed recently, type Meta-x recover-session RET to recover the files you were editing." -- not being visible initially. Maybe this sentence should come earlier. Steve Berman