fontconfig: Branch 'master'

[email protected] (Akira TAGOH)
Newsgroups gmane.comp.fonts.fontconfig
Message-ID <[email protected]>
 src/fclang.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit e831f12a38b490cb832830a582a54d8647884988
Author: Josselin Mouette <[email protected]>
Date:   Tue Jun 27 11:34:38 2017 +0200

    Treat C.UTF-8 and C.utf8 locales as built in the C library.
    
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717423
    https://bugs.freedesktop.org/show_bug.cgi?id=101605

diff --git a/src/fclang.c b/src/fclang.c
index 18a373c..6da82dd 100644
--- a/src/fclang.c
+++ b/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");
_______________________________________________
Fontconfig mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/fontconfig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.