Subject: Re: bug#40097: 28.0.50; Preferred font ignored for specific charset

From: Eli Zaretskii <[email-masked]>
Date: Wed, 18 Mar 2020 20:18:11 +0200

> From: Robert Pluim <[email-masked]>
> Cc: [email-masked],  [email-masked],  [email-masked]
> Date: Wed, 18 Mar 2020 17:28:47 +0100
> 
> ftfont.c:
> 
>     { "windows-1251", { 0x0401, 0x0490 }, "ru"},
> 
> Thread 1 "emacs" hit Breakpoint 3, ftfont_get_charset (registry=XIL(0x394540)) at ftfont.c:486
> 486	  for (i = j = 0; i < SBYTES (SYMBOL_NAME (registry)); i++, j++)
> (gdb) pp registry
> microsoft-cp1251
> (gdb) 
> 
> So correcting the name of the registry in ftfont.c fixes this.

You mean, fixing that makes DejaVu Sans Mono be used in this case?
That's great, let's fix this in emacs-27 then.