[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9646: 24.0.90; Daemon does not heed desired font
From: |
Stefan Kangas |
Subject: |
bug#9646: 24.0.90; Daemon does not heed desired font |
Date: |
Mon, 17 Aug 2020 22:34:25 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
eythanweg@gmail.com (Eythan Weg) writes:
> Eli Zaretskii <eliz@gnu.org>
> Sat, 01 Oct 2011 20:56:11 +0300
>
> > From: Eythan Weg <eythanweg@gmail.com>
> > Date: Sat, 01 Oct 2011 09:09:37 -0400
> >
> > I start emacs --daemon with the .emacs content just this:
> >
> > (setq initial-frame-alist '((font . "DejaVu Sans")))
> >
> > Now visit a file with hebrew text. The hebrew chars are shown using
> > freefont. Do the same without --daemon and the font is chosen
> > correctly.
>
> The daemon does not display its initial frame, so you are customizing
> a frame that is never shown.
>
> Why do you request this font only for the initial frame? If you do
> the same with default-frame-alist, does it do what you want, both in
> daemon mode and normal invocation?
>
> My original response was sent mistakenly only to Eli. Here is a revised
> version.
>
> To replicate what I see follow this recipe:
>
> Create the file test.el containing:
> (add-to-list 'default-frame-alist '(font . "DejaVu Sans Mono-14"))
> (set-fontset-font t 'hebrew '("DejaVu Sans" . "unicode-bmp"))
>
> Now run:
>
> emacs -Q -l test.el file.txt
>
> where file.txt contains some Hebrew characters.
> The Hebrew text appears in DejaVu Sans.
>
> Now run:
> emacs --daemon -Q -l test.el
> emacsclient -c file.txt.
>
> The Hebrew text does not appear in DejaVu Sans, and moreover if file.txt
> contains niqud it is incorrectly composed in that font. In my
> case emacs chooses to use FreeMono.
(That was 9 years ago.)
Do you still see this on a recent version of Emacs, such as the recently
released version 27.1?
Best regards,
Stefan Kangas
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#9646: 24.0.90; Daemon does not heed desired font,
Stefan Kangas <=