unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@gnu.org>
To: Left Right <olegsivokon@gmail.com>
Cc: 11850@debbugs.gnu.org, 11813@debbugs.gnu.org,
	"Yotam Medini יותם מדיני" <yotam.medini@gmail.com>
Subject: bug#11850: bug#11813: bug#11850: crash (null font) running emacs built from git
Date: Thu, 12 Jul 2012 15:18:33 +0800	[thread overview]
Message-ID: <87hatdtpkm.fsf@gnu.org> (raw)
In-Reply-To: <CAJQBtgkxt8tS4bNp49w57ipSUg4BjwGN2CgPO_oPkS9U_CYVNw@mail.gmail.com> (Left Right's message of "Wed, 11 Jul 2012 20:36:40 +0300")

Left Right <olegsivokon@gmail.com> 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?





  reply	other threads:[~2012-07-12  7:18 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-03 11:27 bug#11850: crash (null font) running emacs built from git Yotam Medini יותם מדיני
2012-07-03 16:35 ` Eli Zaretskii
2012-07-03 16:49   ` Eli Zaretskii
2012-07-04 14:31     ` Yotam Medini יותם מדיני
2012-07-04 16:32       ` Eli Zaretskii
2012-07-04 20:49         ` bug#11850: bug#11813: " Eli Zaretskii
2012-07-05  7:34           ` Left Right
2012-07-05 13:17             ` bug#11850: " Eli Zaretskii
2012-07-05 13:33               ` Left Right
2012-07-05 16:54                 ` Eli Zaretskii
2012-07-07 22:42                   ` Left Right
2012-07-07 22:58                     ` bug#11850: " Left Right
2012-07-08  3:00                       ` Eli Zaretskii
2012-07-08 14:20                   ` Chong Yidong
2012-07-08 15:56                     ` bug#11850: " Eli Zaretskii
2012-07-08 16:29                     ` Left Right
2012-07-08 18:40                       ` bug#11850: " Jan Djärv
2012-07-09  4:21                       ` Chong Yidong
2012-07-11 17:36                         ` Left Right
2012-07-12  7:18                           ` Chong Yidong [this message]
2012-08-16  3:25                             ` Chong Yidong
2012-08-16 10:51                               ` bug#11813: " Left Right
2012-08-26  4:36                                 ` Chong Yidong
2012-09-19 13:01                                   ` Left Right
     [not found]         ` <CAAE-6rb+efByT+um7KB-MfvmN2QbOiq_GRRmuwN7drsDu8TC_A@mail.gmail.com>
     [not found]           ` <837guj4ffq.fsf@gnu.org>
2012-07-08 15:58             ` Yotam Medini יותם מדיני
2012-07-08 16:43               ` Eli Zaretskii
2012-07-03 17:15   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hatdtpkm.fsf@gnu.org \
    --to=cyd@gnu.org \
    --cc=11813@debbugs.gnu.org \
    --cc=11850@debbugs.gnu.org \
    --cc=olegsivokon@gmail.com \
    --cc=yotam.medini@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).