[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9646: 24.0.90; Daemon does not heed desired font
From: |
Eythan Weg |
Subject: |
bug#9646: 24.0.90; Daemon does not heed desired font |
Date: |
Sun, 02 Oct 2011 15:31:07 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) |
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.