* bug#39286: 27.0.60; Wrong font for Cyrillic characters in emacs buffer
@ 2020-01-26 8:06 jumper 047
2020-01-26 17:10 ` Eli Zaretskii
0 siblings, 1 reply; 10+ messages in thread
From: jumper 047 @ 2020-01-26 8:06 UTC (permalink / raw)
To: 39286
[-- Attachment #1: Type: text/plain, Size: 3164 bytes --]
To reporduce launch 'emacs -Q', then type C-x 8 RET 444 RET inside
*scratch* buffer.
Expected character 'ф' displayed with font Courier New, but got
character displayed with BatangChe
In GNU Emacs 27.0.60 (build 1, x86_64-w64-mingw32)
of 2019-12-29 built on CIRROCUMULUS
Repository revision: 21c3020fcec0a32122d2680a391864a75393031b
Repository branch: emacs-27
Windowing system distributor 'Microsoft Corp.', version 6.1.7601
System Description: Microsoft Windows 7 Professional Service Pack 1
(v6.1.1130.7601.24544)
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
<scroll> is undefined
Quit
Configured using:
'configure --without-dbus --host=x86_64-w64-mingw32
--without-compress-install -C 'CFLAGS=-O2 -static -g3''
Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2
HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS PDUMPER LCMS2 GMP
Important settings:
value of $LANG: RU
locale-coding-system: cp1251
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg
epg-config gnus-util rmail rmail-loaddefs text-property-search time-date
subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs
cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars
term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads w32notify w32 lcms2 multi-tty make-network-process
emacs)
Memory information:
((conses 16 48850 9493)
(symbols 48 6424 1)
(strings 32 17234 1955)
(string-bytes 1 529944)
(vectors 16 10818)
(vector-slots 8 136883 15172)
(floats 8 22 281)
(intervals 56 605 2573)
(buffers 1000 12))
[-- Attachment #2: Type: text/html, Size: 3431 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#39286: 27.0.60; Wrong font for Cyrillic characters in emacs buffer
2020-01-26 8:06 bug#39286: 27.0.60; Wrong font for Cyrillic characters in emacs buffer jumper 047
@ 2020-01-26 17:10 ` Eli Zaretskii
2020-01-31 6:42 ` Дмитрий
0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2020-01-26 17:10 UTC (permalink / raw)
To: jumper 047; +Cc: 39286
> From: jumper 047 <jumper047@gmail.com>
> Date: Sun, 26 Jan 2020 11:06:11 +0300
>
> To reporduce launch 'emacs -Q', then type C-x 8 RET 444 RET inside
> *scratch* buffer.
> Expected character 'ф' displayed with font Courier New, but got
> character displayed with BatangChe
Thanks. This is very strange, since the Courier New font, which is
used for the default face in "emacs -Q" on Windows, does have that
character. I tried on 2 different Windows systems, and on both Emacs
used Courier New.
Does anyone else see this?
Could you please do the following and post the results?
emacs -Q
M-: (setq font-log nil) RET
C-x 8 RET 444 RET
RET
font-log C-j
The "font-log" part in the last line should be on a separate line in
the *scratch* buffer (that's what RET before it is meant to arrange),
and C-j (i.e. Ctrl-j) should be pressed with the cursor after the 'g'
character that ends "font-log".
The result of C-j will be a long list, with some "..." in it. Please
go to each such "..." and press RET on it, to have the list fully
expanded. Then post here that list.
Thanks.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#39286: 27.0.60; Wrong font for Cyrillic characters in emacs buffer
2020-01-26 17:10 ` Eli Zaretskii
@ 2020-01-31 6:42 ` Дмитрий
2020-01-31 8:50 ` Eli Zaretskii
0 siblings, 1 reply; 10+ messages in thread
From: Дмитрий @ 2020-01-31 6:42 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 39286
[-- Attachment #1: Type: text/plain, Size: 4947 bytes --]
Sorry for waiting.
There is output:
((sort-by "-*-bold-normal-normal-*-13-*" "harfbuzz:-outline-Courier New-bold-normal-normal-mono-*-c-*-iso8859-1") (list "-outline-Courier New-*-mono-*-iso8859-1" ["-outline-Courier New-bold-italic-normal-mono-*-c-*-iso8859-1" "-outline-Courier New-bold-normal-normal-mono-*-c-*-iso8859-1" "-outline-Courier New-normal-italic-normal-mono-*-c-*-iso8859-1" "-outline-Courier New-normal-normal-normal-mono-*-c-*-iso8859-1" "-outline-Courier New-bold-italic-normal-mono-*-c-*-iso8859-1" "-outline-Courier New-bold-normal-normal-mono-*-c-*-iso8859-1" "-outline-Courier New-normal-italic-normal-mono-*-c-*-iso8859-1" "-outline-Courier New-normal-normal-normal-mono-*-c-*-iso8859-1"]) (default\ fontset:\ font\ for 1092 nil) (open "-outline-BatangChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "harfbuzz:-outline-BatangChe-normal-normal-normal-mono-13-*-c-*-gb2312.1980-0") (sort-by "-*-normal-normal-normal-*-13-*" "harfbuzz:-outline-BatangChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0") (list "-outline-*-mono-*-gb2312.1980-0" ["-outline-BatangChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-GungsuhChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-GulimChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-DotumChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MingLiU-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MS Gothic-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MS Mincho-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-NSimSun-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-FangSong-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-SimHei-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-KaiTi-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-BatangChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" ...]) (w32font-list "-outline-*-mono-*-gb2312.1980-0" ("-outline-BatangChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-GungsuhChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-GulimChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-DotumChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MingLiU-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MS Gothic-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MS Mincho-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-NSimSun-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-FangSong-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-SimHei-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-KaiTi-normal-normal-normal-mono-*-c-*-gb2312.1980-0")) (harfbuzz-list "-outline-*-mono-*-gb2312.1980-0" ("-outline-BatangChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-GungsuhChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-GulimChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-DotumChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MingLiU-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MS Gothic-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MS Mincho-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-NSimSun-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-FangSong-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-SimHei-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-KaiTi-normal-normal-normal-mono-*-c-*-gb2312.1980-0")) (list "-*-Courier New-*-gb2312.1980-0" nil) (w32font-list "-*-Courier New-*-gb2312.1980-0" nil) (harfbuzz-list "-*-Courier New-*-gb2312.1980-0" nil) (list "-*-Courier New-*-mono-*-gb2312.1980-0" nil) ...)
On January 26, 2020 8:10:15 PM GMT+03:00, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: jumper 047 <jumper047@gmail.com>
>> Date: Sun, 26 Jan 2020 11:06:11 +0300
>>
>> To reporduce launch 'emacs -Q', then type C-x 8 RET 444 RET inside
>> *scratch* buffer.
>> Expected character 'ф' displayed with font Courier New, but got
>> character displayed with BatangChe
>
>Thanks. This is very strange, since the Courier New font, which is
>used for the default face in "emacs -Q" on Windows, does have that
>character. I tried on 2 different Windows systems, and on both Emacs
>used Courier New.
>
>Does anyone else see this?
>
>Could you please do the following and post the results?
>
> emacs -Q
> M-: (setq font-log nil) RET
> C-x 8 RET 444 RET
> RET
> font-log C-j
>
>The "font-log" part in the last line should be on a separate line in
>the *scratch* buffer (that's what RET before it is meant to arrange),
>and C-j (i.e. Ctrl-j) should be pressed with the cursor after the 'g'
>character that ends "font-log".
>
>The result of C-j will be a long list, with some "..." in it. Please
>go to each such "..." and press RET on it, to have the list fully
>expanded. Then post here that list.
>
>Thanks.
--
Простите за краткость, создано в K-9 Mail.
[-- Attachment #2: Type: text/html, Size: 6072 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#39286: 27.0.60; Wrong font for Cyrillic characters in emacs buffer
2020-01-31 6:42 ` Дмитрий
@ 2020-01-31 8:50 ` Eli Zaretskii
2020-01-31 9:13 ` Дмитрий
0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2020-01-31 8:50 UTC (permalink / raw)
To: Дмитрий; +Cc: 39286
> Date: Fri, 31 Jan 2020 09:42:21 +0300
> CC: 39286@debbugs.gnu.org
> From: Дмитрий <jumper047@gmail.com>
>
> Sorry for waiting.
> There is output:
Thanks. This still has the ellipsis "..." at the end:
> (list "-*-Courier New-*-mono-*-gb2312.1980-0" nil) ...)
^^^
So please repeat the experiment, but this time go to the ellipsis and
press RET on it. That should expand the list to make it longer;
please post the full result.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#39286: 27.0.60; Wrong font for Cyrillic characters in emacs buffer
2020-01-31 8:50 ` Eli Zaretskii
@ 2020-01-31 9:13 ` Дмитрий
2021-02-07 16:09 ` Eli Zaretskii
0 siblings, 1 reply; 10+ messages in thread
From: Дмитрий @ 2020-01-31 9:13 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 39286
[-- Attachment #1: Type: text/plain, Size: 5853 bytes --]
Ohh, i thought it was just ellipsis.
((open "-outline-BatangChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "harfbuzz:-outline-BatangChe-normal-normal-normal-mono-13-*-c-*-gb2312.1980-0") (sort-by "-*-normal-normal-normal-*-13-*" "harfbuzz:-outline-BatangChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0") (list "-outline-*-mono-*-gb2312.1980-0" ["-outline-BatangChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-GungsuhChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-GulimChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-DotumChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MingLiU-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MS Gothic-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MS Mincho-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-NSimSun-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-FangSong-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-SimHei-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-KaiTi-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-BatangChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-GungsuhChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-GulimChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-DotumChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MingLiU-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MS Gothic-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MS Mincho-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-NSimSun-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-FangSong-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-SimHei-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-KaiTi-normal-normal-normal-mono-*-c-*-gb2312.1980-0"]) (w32font-list "-outline-*-mono-*-gb2312.1980-0" ("-outline-BatangChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-GungsuhChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-GulimChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-DotumChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MingLiU-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MS Gothic-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MS Mincho-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-NSimSun-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-FangSong-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-SimHei-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-KaiTi-normal-normal-normal-mono-*-c-*-gb2312.1980-0")) (harfbuzz-list "-outline-*-mono-*-gb2312.1980-0" ("-outline-BatangChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-GungsuhChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-GulimChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-DotumChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MingLiU-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MS Gothic-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MS Mincho-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-NSimSun-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-FangSong-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-SimHei-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-KaiTi-normal-normal-normal-mono-*-c-*-gb2312.1980-0")) (list "-*-Courier New-*-gb2312.1980-0" nil) (w32font-list "-*-Courier New-*-gb2312.1980-0" nil) (harfbuzz-list "-*-Courier New-*-gb2312.1980-0" nil) (list "-*-Courier New-*-mono-*-gb2312.1980-0" nil) (w32font-list "-*-Courier New-*-mono-*-gb2312.1980-0" nil) (harfbuzz-list "-*-Courier New-*-mono-*-gb2312.1980-0" nil) (list "-outline-Courier New-*-gb2312.1980-0" nil) (w32font-list "-outline-Courier New-*-gb2312.1980-0" nil) (harfbuzz-list "-outline-Courier New-*-gb2312.1980-0" nil) (list "-outline-Courier New-*-mono-*-gb2312.1980-0" nil) (w32font-list "-outline-Courier New-*-mono-*-gb2312.1980-0" nil) (harfbuzz-list "-outline-Courier New-*-mono-*-gb2312.1980-0" nil) (list "-*-iso8859-5" nil) (w32font-list "-*-iso8859-5" nil) (harfbuzz-list "-*-iso8859-5" nil) (list "-*-mono-*-iso8859-5" nil) (w32font-list "-*-mono-*-iso8859-5" nil) (harfbuzz-list "-*-mono-*-iso8859-5" nil) (list "-outline-*-iso8859-5" nil) (w32font-list "-outline-*-iso8859-5" nil) (harfbuzz-list "-outline-*-iso8859-5" nil) (list "-outline-*-mono-*-iso8859-5" nil) (w32font-list "-outline-*-mono-*-iso8859-5" nil) (harfbuzz-list "-outline-*-mono-*-iso8859-5" nil) (list "-*-Courier New-*-iso8859-5" nil) (w32font-list "-*-Courier New-*-iso8859-5" nil) (harfbuzz-list "-*-Courier New-*-iso8859-5" nil) (list "-*-Courier New-*-mono-*-iso8859-5" nil) (w32font-list "-*-Courier New-*-mono-*-iso8859-5" nil) (harfbuzz-list "-*-Courier New-*-mono-*-iso8859-5" nil) (list "-outline-Courier New-*-iso8859-5" nil) (w32font-list "-outline-Courier New-*-iso8859-5" nil) (harfbuzz-list "-outline-Courier New-*-iso8859-5" nil) (list "-outline-Courier New-*-mono-*-iso8859-5" nil) (w32font-list "-outline-Courier New-*-mono-*-iso8859-5" nil) (harfbuzz-list "-outline-Courier New-*-mono-*-iso8859-5" nil) (default\ fontset:\ font\ for 1092 nil))
On January 31, 2020 11:50:45 AM GMT+03:00, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Fri, 31 Jan 2020 09:42:21 +0300
>> CC: 39286@debbugs.gnu.org
>> From: Дмитрий <jumper047@gmail.com>
>>
>> Sorry for waiting.
>> There is output:
>
>Thanks. This still has the ellipsis "..." at the end:
>
>> (list "-*-Courier New-*-mono-*-gb2312.1980-0" nil) ...)
> ^^^
>So please repeat the experiment, but this time go to the ellipsis and
>press RET on it. That should expand the list to make it longer;
>please post the full result.
--
Простите за краткость, создано в K-9 Mail.
[-- Attachment #2: Type: text/html, Size: 7326 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#39286: 27.0.60; Wrong font for Cyrillic characters in emacs buffer
2020-01-31 9:13 ` Дмитрий
@ 2021-02-07 16:09 ` Eli Zaretskii
[not found] ` <CAL0qKoTXrQ-FwmWzEnPeVg88P3YEmTqhJFzL9sNc=66LiS+9rg@mail.gmail.com>
0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2021-02-07 16:09 UTC (permalink / raw)
To: Дмитрий; +Cc: 39286
> Date: Fri, 31 Jan 2020 12:13:18 +0300
> From: Дмитрий <jumper047@gmail.com>
> Cc: 39286@debbugs.gnu.org
A year later, I bumped into a system where I saw something very
similar, so I debugged this.
> ((open "-outline-BatangChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "harfbuzz:-outline-BatangChe-normal-normal-normal-mono-13-*-c-*-gb2312.1980-0") (sort-by
> "-*-normal-normal-normal-*-13-*"
> "harfbuzz:-outline-BatangChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0") (list
> "-outline-*-mono-*-gb2312.1980-0" ["-outline-BatangChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-GungsuhChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-GulimChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-DotumChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-MingLiU-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MS
> Gothic-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MS
> Mincho-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-NSimSun-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-FangSong-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-SimHei-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-KaiTi-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-BatangChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-GungsuhChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-GulimChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-DotumChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-MingLiU-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MS
> Gothic-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MS
> Mincho-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-NSimSun-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-FangSong-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-SimHei-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-KaiTi-normal-normal-normal-mono-*-c-*-gb2312.1980-0"]) (w32font-list
> "-outline-*-mono-*-gb2312.1980-0" ("-outline-BatangChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-GungsuhChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-GulimChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-DotumChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-MingLiU-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MS
> Gothic-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MS
> Mincho-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-NSimSun-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-FangSong-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-SimHei-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-KaiTi-normal-normal-normal-mono-*-c-*-gb2312.1980-0")) (harfbuzz-list
> "-outline-*-mono-*-gb2312.1980-0" ("-outline-BatangChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-GungsuhChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-GulimChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-DotumChe-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-MingLiU-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MS
> Gothic-normal-normal-normal-mono-*-c-*-gb2312.1980-0" "-outline-MS
> Mincho-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-NSimSun-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-FangSong-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-SimHei-normal-normal-normal-mono-*-c-*-gb2312.1980-0"
> "-outline-KaiTi-normal-normal-normal-mono-*-c-*-gb2312.1980-0")) (list "-*-Courier New-*-gb2312.1980-0"
> nil) (w32font-list "-*-Courier New-*-gb2312.1980-0" nil) (harfbuzz-list "-*-Courier New-*-gb2312.1980-0" nil)
> (list "-*-Courier New-*-mono-*-gb2312.1980-0" nil) (w32font-list "-*-Courier New-*-mono-*-gb2312.1980-0"
> nil) (harfbuzz-list "-*-Courier New-*-mono-*-gb2312.1980-0" nil) (list "-outline-Courier New-*-gb2312.1980-0"
> nil) (w32font-list "-outline-Courier New-*-gb2312.1980-0" nil) (harfbuzz-list "-outline-Courier
> New-*-gb2312.1980-0" nil) (list "-outline-Courier New-*-mono-*-gb2312.1980-0" nil) (w32font-list
> "-outline-Courier New-*-mono-*-gb2312.1980-0" nil) (harfbuzz-list "-outline-Courier
> New-*-mono-*-gb2312.1980-0" nil) (list "-*-iso8859-5" nil) (w32font-list "-*-iso8859-5" nil) (harfbuzz-list
> "-*-iso8859-5" nil) (list "-*-mono-*-iso8859-5" nil) (w32font-list "-*-mono-*-iso8859-5" nil) (harfbuzz-list
> "-*-mono-*-iso8859-5" nil) (list "-outline-*-iso8859-5" nil) (w32font-list "-outline-*-iso8859-5" nil) (harfbuzz-list
> "-outline-*-iso8859-5" nil) (list "-outline-*-mono-*-iso8859-5" nil) (w32font-list "-outline-*-mono-*-iso8859-5"
> nil) (harfbuzz-list "-outline-*-mono-*-iso8859-5" nil) (list "-*-Courier New-*-iso8859-5" nil) (w32font-list
> "-*-Courier New-*-iso8859-5" nil) (harfbuzz-list "-*-Courier New-*-iso8859-5" nil) (list "-*-Courier
> New-*-mono-*-iso8859-5" nil) (w32font-list "-*-Courier New-*-mono-*-iso8859-5" nil) (harfbuzz-list
> "-*-Courier New-*-mono-*-iso8859-5" nil) (list "-outline-Courier New-*-iso8859-5" nil) (w32font-list
> "-outline-Courier New-*-iso8859-5" nil) (harfbuzz-list "-outline-Courier New-*-iso8859-5" nil) (list
> "-outline-Courier New-*-mono-*-iso8859-5" nil) (w32font-list "-outline-Courier New-*-mono-*-iso8859-5" nil)
> (harfbuzz-list "-outline-Courier New-*-mono-*-iso8859-5" nil) (default\ fontset:\ font\ for 1092 nil))
Note that iso10646-1 charset never appears in the above log, although
the setup for Cyrillic in the default fontset is this:
(cyrillic ,(font-spec :registry "iso10646-1" :script 'cyrillic)
(nil . "ISO8859-5")
(nil . "microsoft-cp1251")
(nil . "koi8-r"))
IOW, iso10646-1 is the first registry value Emacs should have tried,
but it is nowhere to be seen in the above log.
The reason for this is that the fontset is reordered according to the
locale's preferences, as recorded in Vcharset_ordered_list and
Vcharset_non_preferred_head, and these are screwed up because Windows
returns to us a bogus locale name "ZZZ". That causes the iso10646-1
part of the Cyrillic fontset to be pushed way down the preference
order, and we begin by examining the other registry values.
Even so, iso8859-5 should have saved the day, but there's another
problem: we don't have information in w32-charset-info-alist for
mapping iso-8859-5 into Windows charset constants.
So I have now fixed both problems on the emacs-27 branch, and as
result the Cyrillic characters are displayed using Courier New, as
expected.
Do you still have access to that system where you saw the problem? If
so, can you build Emacs from the recent emacs-27 branch and see if the
problem is solved? Even if you cannot build Emacs, I can tell you how
to fix the problem manually.
Thanks.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2021-05-13 12:57 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-26 8:06 bug#39286: 27.0.60; Wrong font for Cyrillic characters in emacs buffer jumper 047
2020-01-26 17:10 ` Eli Zaretskii
2020-01-31 6:42 ` Дмитрий
2020-01-31 8:50 ` Eli Zaretskii
2020-01-31 9:13 ` Дмитрий
2021-02-07 16:09 ` Eli Zaretskii
[not found] ` <CAL0qKoTXrQ-FwmWzEnPeVg88P3YEmTqhJFzL9sNc=66LiS+9rg@mail.gmail.com>
2021-02-07 18:00 ` Eli Zaretskii
2021-04-09 16:59 ` Stefan Kangas
2021-05-13 11:54 ` Lars Ingebrigtsen
2021-05-13 12:57 ` Dmitrii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.