From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#58335: 28.2; Default font 'not available' when running dictionary Date: Thu, 06 Oct 2022 20:27:08 +0300 Message-ID: <83czb4q2vn.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13614"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58335@debbugs.gnu.org To: Alejandro =?UTF-8?Q?P=C3=A9rez?= Carballo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 06 20:18:41 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogVSC-0003JX-1P for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Oct 2022 20:18:40 +0200 Original-Received: from localhost ([::1]:47502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogVS9-00065j-3C for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Oct 2022 14:18:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogUfE-0005Zd-Gk for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 13:28:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34384) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogUfD-00010f-Hx for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 13:28:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ogUfC-000655-0Z for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 13:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Oct 2022 17:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58335 X-GNU-PR-Package: emacs Original-Received: via spool by 58335-submit@debbugs.gnu.org id=B58335.166507724523330 (code B ref 58335); Thu, 06 Oct 2022 17:28:01 +0000 Original-Received: (at 58335) by debbugs.gnu.org; 6 Oct 2022 17:27:25 +0000 Original-Received: from localhost ([127.0.0.1]:33462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogUea-00064B-AB for submit@debbugs.gnu.org; Thu, 06 Oct 2022 13:27:25 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogUeU-00063s-Ai for 58335@debbugs.gnu.org; Thu, 06 Oct 2022 13:27:22 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41812) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogUeO-0000tr-6Y; Thu, 06 Oct 2022 13:27:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=SbLYmNDBhvZCdYBn7ivF3HtO+V1WxGpy1p4InaICRL4=; b=DIRwkrtsIv6Q3VHFH74/ 6gwFDdNMjtRm5f3rjrVq3QxvBnTOtns37SLGHpRC0TdwXD+Pbe+8okIgDZgbPjGPrZUJY+JQPFUfE Ggvw4fJ4p57T3qfKS7wBvFEkkD9QqQEDQor1KHbYim2MhwUElN0mEygP12KESKYBNkBqci0MwI3TD FDJH5ua67SxVLjLTKTmS6scUP/aoiVPlJT1QKc4iSNNnw03cLoXDN4vxkmRGhenFOqFJoCy7DKLxJ 3QujfF4wyjP96XjTNtqeTGECwWQzE46rJs1GIdcIS2IdxGP9kIvHWDo8Hjva/UUpJE8+8t6eQOcgP QpKne7Z+vWIOjQ==; Original-Received: from [87.69.77.57] (port=2953 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogUeN-0006EZ-2b; Thu, 06 Oct 2022 13:27:11 -0400 In-Reply-To: (message from Alejandro =?UTF-8?Q?P=C3=A9rez?= Carballo on Thu, 06 Oct 2022 08:38:09 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:244693 Archived-At: > From: Alejandro Pérez Carballo > Date: Thu, 06 Oct 2022 08:38:09 -0400 > > I tried calling `dictionary` (just `M-x dictionary RET`) and got the following error: > > set-face-attribute: Font not available: # > > I do not get this error if I simply run `emacs -Q` and then call `dictionary`. But adding just > > (set-face-attribute 'default nil :font "Input") > > suffices to reproduce the error on my system (after calling `emacs -Q -l file.el`, where 'file.el' contains just that one line). What happens if you invoke Emacs like this: emacs -Q -fn Input I suspect that Input font is not good for Emacs, so it rejects it. Nevertheless, I think the definition of dictionary-word-definition-face is problematic: it shouldn't use font names such as "default", because it will always fail like this: > Debugger entered--Lisp error: (error "Font not available" # nil nil default nil nil nil nil nil nil nil nil nil ((:name . > "default") (:user-spec . "default"))>)