* Emacs 27.1 forces a very ugly font for Cyrillic characters and I can't override it.
@ 2021-03-13 12:05 Nikolay Kudryavtsev
2021-03-13 15:13 ` Eli Zaretskii
0 siblings, 1 reply; 14+ messages in thread
From: Nikolay Kudryavtsev @ 2021-03-13 12:05 UTC (permalink / raw)
To: help-gnu-emacs
Hello.
Being rather operative with the new releases, I've finally decided to
upgrade to 27.1 from 26.2. And here's what I ran into:
In my init I have:
(add-to-list 'default-frame-alist '(font . "Liberation Mono-10"))
This forces Liberation Mono font for all frames. Or would do so before
27.1. But now all of the Cyrillic characters get displayed in MS Gothic,
which is a very ugly font.
I've tried to test an assumption that maybe the font-backend is
responsible for font selection and now the harfbuzz is the default for
me. But forcing uniscribe again didn't help.
Any advice?
--
Best Regards,
Nikolay Kudryavtsev
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Emacs 27.1 forces a very ugly font for Cyrillic characters and I can't override it.
2021-03-13 12:05 Emacs 27.1 forces a very ugly font for Cyrillic characters and I can't override it Nikolay Kudryavtsev
@ 2021-03-13 15:13 ` Eli Zaretskii
2021-03-13 16:02 ` Nikolay Kudryavtsev
0 siblings, 1 reply; 14+ messages in thread
From: Eli Zaretskii @ 2021-03-13 15:13 UTC (permalink / raw)
To: help-gnu-emacs
> From: Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com>
> Date: Sat, 13 Mar 2021 15:05:13 +0300
>
> Being rather operative with the new releases, I've finally decided to
> upgrade to 27.1 from 26.2. And here's what I ran into:
>
> In my init I have:
>
> (add-to-list 'default-frame-alist '(font . "Liberation Mono-10"))
>
> This forces Liberation Mono font for all frames. Or would do so before
> 27.1. But now all of the Cyrillic characters get displayed in MS Gothic,
> which is a very ugly font.
You are on Windows 10, right?
What does the below produce?
M-: (getenv "LANG") RET
> I've tried to test an assumption that maybe the font-backend is
> responsible for font selection and now the harfbuzz is the default for
> me. But forcing uniscribe again didn't help.
No, the fact that we use HarfBuzz now is not related to this, I think.
Font selection is largely independent of the font backend.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Emacs 27.1 forces a very ugly font for Cyrillic characters and I can't override it.
2021-03-13 15:13 ` Eli Zaretskii
@ 2021-03-13 16:02 ` Nikolay Kudryavtsev
2021-03-13 16:33 ` Eli Zaretskii
0 siblings, 1 reply; 14+ messages in thread
From: Nikolay Kudryavtsev @ 2021-03-13 16:02 UTC (permalink / raw)
To: Eli Zaretskii, help-gnu-emacs
Yes, Windows 10.
(getenv "LANG"): "RUS"
--
Best Regards,
Nikolay Kudryavtsev
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Emacs 27.1 forces a very ugly font for Cyrillic characters and I can't override it.
2021-03-13 16:02 ` Nikolay Kudryavtsev
@ 2021-03-13 16:33 ` Eli Zaretskii
2021-03-13 16:44 ` Nikolay Kudryavtsev
0 siblings, 1 reply; 14+ messages in thread
From: Eli Zaretskii @ 2021-03-13 16:33 UTC (permalink / raw)
To: help-gnu-emacs
> From: Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com>
> Date: Sat, 13 Mar 2021 19:02:24 +0300
>
> Yes, Windows 10.
>
> (getenv "LANG"): "RUS"
Then this is not the problem I'm aware of. The one I saw caused the
above to return "ZZZ" (meaning unrecognized language), and the
upcoming Emacs 27.2 will have it fixed.
What happens if you start Emacs as "emacs -Q"? does the problem still
exist, and if so, what does the above yield then?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Emacs 27.1 forces a very ugly font for Cyrillic characters and I can't override it.
2021-03-13 16:33 ` Eli Zaretskii
@ 2021-03-13 16:44 ` Nikolay Kudryavtsev
2021-03-13 16:59 ` Eli Zaretskii
0 siblings, 1 reply; 14+ messages in thread
From: Nikolay Kudryavtsev @ 2021-03-13 16:44 UTC (permalink / raw)
To: Eli Zaretskii, help-gnu-emacs
Yes, still happens with Emacs -Q too. And it's "RUS" again.
Also I've just tried the emacs-27.1.91-x86_64.zip
<https://alpha.gnu.org/gnu/emacs/pretest/windows/emacs-27/emacs-27.1.91-x86_64.zip>
pretest binary, same problem.
--
Best Regards,
Nikolay Kudryavtsev
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Emacs 27.1 forces a very ugly font for Cyrillic characters and I can't override it.
2021-03-13 16:44 ` Nikolay Kudryavtsev
@ 2021-03-13 16:59 ` Eli Zaretskii
2021-03-13 17:17 ` Eli Zaretskii
0 siblings, 1 reply; 14+ messages in thread
From: Eli Zaretskii @ 2021-03-13 16:59 UTC (permalink / raw)
To: help-gnu-emacs
> From: Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com>
> Date: Sat, 13 Mar 2021 19:44:15 +0300
>
> Yes, still happens with Emacs -Q too. And it's "RUS" again.
But in "emacs -Q" the default font is not "Liberation Mono-10", it's
Courier New.
> Also I've just tried the emacs-27.1.91-x86_64.zip pretest binary, same problem.
The bug was fixed after that pretest was made.
Anyway, it sounds like a different problem, sorry. Someone with
access to that system will have to debug it. All I can suggest is to
customize your fontset to force that font with Cyrillic script.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Emacs 27.1 forces a very ugly font for Cyrillic characters and I can't override it.
2021-03-13 16:59 ` Eli Zaretskii
@ 2021-03-13 17:17 ` Eli Zaretskii
[not found] ` <b027f754-194e-5798-13d9-6d9f01b69777@gmail.com>
0 siblings, 1 reply; 14+ messages in thread
From: Eli Zaretskii @ 2021-03-13 17:17 UTC (permalink / raw)
To: help-gnu-emacs
> Date: Sat, 13 Mar 2021 18:59:46 +0200
> From: Eli Zaretskii <eliz@gnu.org>
>
> Anyway, it sounds like a different problem, sorry. Someone with
> access to that system will have to debug it. All I can suggest is to
> customize your fontset to force that font with Cyrillic script.
As the last resort, try evaluating this immediately after entering
"emacs -Q":
M-: (w32-add-charset-info "iso8859-5" 'w32-charset-russian 28595) RET
Then type something in Russian and see if that helps.
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2021-03-26 16:05 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-13 12:05 Emacs 27.1 forces a very ugly font for Cyrillic characters and I can't override it Nikolay Kudryavtsev
2021-03-13 15:13 ` Eli Zaretskii
2021-03-13 16:02 ` Nikolay Kudryavtsev
2021-03-13 16:33 ` Eli Zaretskii
2021-03-13 16:44 ` Nikolay Kudryavtsev
2021-03-13 16:59 ` Eli Zaretskii
2021-03-13 17:17 ` Eli Zaretskii
[not found] ` <b027f754-194e-5798-13d9-6d9f01b69777@gmail.com>
2021-03-13 18:39 ` Eli Zaretskii
2021-03-26 13:34 ` Nikolay Kudryavtsev
2021-03-26 14:23 ` Eli Zaretskii
2021-03-26 15:51 ` Nikolay Kudryavtsev
2021-03-26 15:57 ` Eli Zaretskii
2021-03-26 16:05 ` Nikolay Kudryavtsev
2021-03-26 13:50 ` Nikolay Kudryavtsev
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).