From bed04c502caa8cf0365a0808adb70451b3d8761a Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Wed, 18 Mar 2020 21:37:55 +0100 Subject: [PATCH] Use correct registry name for windows-1251 charset * src/ftfont.c (fc_charset_table): The registry to use to lookup windows-1251 charset is microsoft-cp1251, not windows-1251. (Bug#40097) --- src/ftfont.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ftfont.c b/src/ftfont.c index 2b442ead4bf..6b549c3ddf2 100644 --- a/src/ftfont.c +++ b/src/ftfont.c @@ -119,7 +119,7 @@ static struct { "jisx0213.2004-1", { 0x20B9F }}, { "viscii1.1-1", { 0x1EA0, 0x1EAE, 0x1ED2 }, "vi"}, { "tis620.2529-1", { 0x0E01 }, "th"}, - { "windows-1251", { 0x0401, 0x0490 }, "ru"}, + { "microsoft-cp1251", { 0x0401, 0x0490 }, "ru"}, { "koi8-r", { 0x0401, 0x2219 }, "ru"}, { "mulelao-1", { 0x0E81 }, "lo"}, { "unicode-sip", { 0x20000 }}, -- 2.39.2