Make Xutf8DrawString works correctly with ISO10646 fonts.

Signed-off-by: Liang Chang <l-chang@users.sourceforge.net>
This commit is contained in:
Liang Chang 2021-09-07 18:54:10 +08:00 committed by Alan Coopersmith
parent 3ad36c5d3d
commit 934417b1e8

View file

@ -2358,6 +2358,7 @@ _XlcAddUtf8LocaleConverters(
/* Register converters for XlcNFontCharSet */
_XlcSetConverter(lcd, XlcNMultiByte, lcd, XlcNFontCharSet, open_utf8tofcs);
_XlcSetConverter(lcd, XlcNWideChar, lcd, XlcNFontCharSet, open_wcstofcs);
_XlcSetConverter(lcd, XlcNUtf8String, lcd, XlcNFontCharSet, open_utf8tofcs);
}
void