From 574805478c19cdb487aea96922ff7177dd0844d7 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 31 Jan 2009 03:38:19 -0500 Subject: [PATCH] [fcfreetype] Fix typo in GB2312 encoding name string (#19845) This was causing failure when opening iconv converter, hence rendering GB2312-encoded fonts with no other usable encoding unusable. --- src/fcfreetype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fcfreetype.c b/src/fcfreetype.c index 7e30fdf..0e8f883 100644 --- a/src/fcfreetype.c +++ b/src/fcfreetype.c @@ -120,7 +120,7 @@ static const FcFtEncoding fcFtEncoding[] = { { TT_PLATFORM_MACINTOSH, TT_MAC_ID_JAPANESE, "SJIS" }, { TT_PLATFORM_MICROSOFT, TT_MS_ID_UNICODE_CS, "UTF-16BE" }, { TT_PLATFORM_MICROSOFT, TT_MS_ID_SJIS, "SJIS-WIN" }, - { TT_PLATFORM_MICROSOFT, TT_MS_ID_GB2312, "GB3212" }, + { TT_PLATFORM_MICROSOFT, TT_MS_ID_GB2312, "GB2312" }, { TT_PLATFORM_MICROSOFT, TT_MS_ID_BIG_5, "BIG-5" }, { TT_PLATFORM_MICROSOFT, TT_MS_ID_WANSUNG, "Wansung" }, { TT_PLATFORM_MICROSOFT, TT_MS_ID_JOHAB, "Johab" },