I’ve been using Input with Emacs for over two years without any trouble. In what sense is Emacs rejecting it?
On Oct 6, 2022, at 1:27 PM, Eli Zaretskii <eliz@gnu.org> wrote:
From: Alejandro Pérez Carballo <apc@umass.edu>
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: #<font-spec nil nil default nil nil nil nil nil nil nil nil nil ((:name . "default") (:user-spec . "default"))>
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" #<font-spec
nil nil default nil nil nil nil nil nil nil nil nil ((:name .
"default") (:user-spec . "default"))>)