From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#11850: bug#11813: bug#11850: crash (null font) running emacs built from git Date: Thu, 12 Jul 2012 15:18:33 +0800 Message-ID: <87hatdtpkm.fsf@gnu.org> References: <831uks6bvy.fsf@gnu.org> <83y5n04wno.fsf@gnu.org> <83d34b4hdq.fsf@gnu.org> <831ukr45gh.fsf@gnu.org> <83y5my2vp8.fsf@gnu.org> <83sjd62lng.fsf@gnu.org> <87txxi1gj2.fsf@gnu.org> <87vchxtvi3.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1342077584 18436 80.91.229.3 (12 Jul 2012 07:19:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 Jul 2012 07:19:44 +0000 (UTC) Cc: 11850@debbugs.gnu.org, 11813@debbugs.gnu.org, Yotam Medini =?UTF-8?Q?=D7=99=D7=95=D7=AA=D7=9D_?= =?UTF-8?Q?=D7=9E=D7=93=D7=99=D7=A0=D7=99?= To: Left Right Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 12 09:19:42 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SpDga-0003dW-TZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Jul 2012 09:19:41 +0200 Original-Received: from localhost ([::1]:35358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpDga-0005lm-3C for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Jul 2012 03:19:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpDgY-0005ld-5B for bug-gnu-emacs@gnu.org; Thu, 12 Jul 2012 03:19:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SpDgS-0002UA-9j for bug-gnu-emacs@gnu.org; Thu, 12 Jul 2012 03:19:38 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpDgS-0002U5-6b for bug-gnu-emacs@gnu.org; Thu, 12 Jul 2012 03:19:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SpDlm-0008FW-KA for bug-gnu-emacs@gnu.org; Thu, 12 Jul 2012 03:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Jul 2012 07:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11850 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11850-submit@debbugs.gnu.org id=B11850.134207785331649 (code B ref 11850); Thu, 12 Jul 2012 07:25:02 +0000 Original-Received: (at 11850) by debbugs.gnu.org; 12 Jul 2012 07:24:13 +0000 Original-Received: from localhost ([127.0.0.1]:34691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SpDky-0008EL-L9 for submit@debbugs.gnu.org; Thu, 12 Jul 2012 03:24:12 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:54121) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SpDkw-0008E8-JC; Thu, 12 Jul 2012 03:24:11 -0400 Original-Received: from [155.69.19.139] (port=37195 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SpDfa-0001Js-Vx; Thu, 12 Jul 2012 03:18:39 -0400 In-Reply-To: (Left Right's message of "Wed, 11 Jul 2012 20:36:40 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list 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:61842 Archived-At: Left Right writes: > Nimbus is indeed a font installed on my system (screenshot attached). > But it has bold face (you can see it on the screenshot). Though the > font which I was referring to as "not installed myself" is the other > one called "variable-pitch" it is used in the "welcome" buffer. The Emacs welcome screen uses `variable-pitch' everywhere except for the text "Control-g", which is the part that does not display properly in your screenshot. The rest of the welcome screen, which uses `variable-pitch', displays fine in the screenshot. So the problem is with the `default' face, not `variable-pitch'. > both GSettings and -lfreetype are "no", but the configuration script > didn't ask me to install libfreetype although it is installed OK, now I remember: we used to allow building with Freetype and without Xft, but in Emacs 24 this was disabled because the non-xft freetype font driver was poorly tested and slow. So if you compile without Xft support, Emacs doesn't use Freetype any more. But Emacs should work fine without freetype, so that is not the bug. Nimbus Mono does require Freetype, but if you compile without Xft, Emacs shouldn't be looking for that font at all. If you don't specify a font in .Xresources or your init file, Emacs should try the following default fonts (in sequence): -adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1 -misc-fixed-medium-r-normal-*-*-140-*-*-c-*-iso8859-1 -*-*-medium-r-normal-*-*-140-*-*-c-*-iso8859-1 -*-*-medium-r-*-*-*-*-*-*-c-*-iso8859-1 -*-fixed-*-*-*-*-*-140-*-*-c-*-iso8859-1 fixed I verified this by doing ./configure --with-xft=no make ./src/emacs -q Then Emacs displays the welcome screen fine, with -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-1 as the font for the `default' face. (And if I do M-x set-frame-font RET -urw-nimbus mono l-normal-normal-normal-*-13-*-*-*-m-0-iso10646-1 RET Emacs signals an error saying it can't display that font, as expected.) So I don't understand why your Emacs is trying to load Nimbus Mono. Here's something to try: could you try making sure there are no X resources specified, by doing xrdb -remove and running `emacs -Q' to eliminate all customizations? Does the font problem still show up in that case?