help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to enforce unicode font for all charsets?


From: Sergey Organov
Subject: Re: How to enforce unicode font for all charsets?
Date: Fri, 13 Mar 2020 16:58:15 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: Sergey Organov <address@hidden>
>> Cc: address@hidden
>> Date: Fri, 13 Mar 2020 09:48:11 +0300
>> 
>> (let ((buf (get-buffer-create "test encodings")))
>>   (with-current-buffer buf
>>     (erase-buffer)
>>     (insert "Encoding windows-1251: "
>>             (propertize "привет\n" 'charset 'windows-1251))
>>     (insert "Encoding      unicode: "
>>             (propertize "привет\n" 'charset 'unicode)))
>>   (switch-to-buffer-other-window buf))
>> 
>> What I see in "emacs -Q" is attached as Emacs window snapshot. Please
>> notice how two strings look very different where encodings differ. What
>> I see in my "regular" Emacs is almost the same, just in larger font
>> size.
>> 
>> The question is why Emacs doesn't use the default font for windows-1251
>> encoding when the font definitely has all the needed glyphs?

[...]

> FWIW, I cannot reproduce this on my system: I see the same font being
> used in both cases.  But maybe this is system-dependent in some ways,
> or maybe the fonts you have installed affect this.  So I think you
> should report all this (including the information I requested above)
> as part of a bug report, using "M-x report-emacs-bug", and let's take
> it from there.

I've installed Emacs 28.0.50 snapshot and behavior remains the same as in
26.1, so if it's a bug, it's still there in very recent versions.

Thanks,
-- Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]