Takashi Iwai
f76cb72a73
- Add fontconfig-locale_c.utf8.patch to recognize C.UTF-8 locale, patch from Debian. OBS-URL: https://build.opensuse.org/request/show/369216 OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=133
14 lines
567 B
Diff
14 lines
567 B
Diff
Index: fontconfig-2.11.1/src/fclang.c
|
|
===================================================================
|
|
--- fontconfig-2.11.1.orig/src/fclang.c
|
|
+++ fontconfig-2.11.1/src/fclang.c
|
|
@@ -189,6 +189,8 @@ FcLangNormalize (const FcChar8 *lang)
|
|
return NULL;
|
|
|
|
if (FcStrCmpIgnoreCase (lang, (const FcChar8 *)"C") == 0 ||
|
|
+ FcStrCmpIgnoreCase (lang, (const FcChar8 *)"C.UTF-8") == 0 ||
|
|
+ FcStrCmpIgnoreCase (lang, (const FcChar8 *)"C.utf8") == 0 ||
|
|
FcStrCmpIgnoreCase (lang, (const FcChar8 *)"POSIX") == 0)
|
|
{
|
|
result = FcStrCopy ((const FcChar8 *)"en");
|