From: Behdad Esfahbod Date: Sat, 31 Jan 2009 08:38:19 +0000 (-0500) Subject: [fcfreetype] Fix typo in GB2312 encoding name string (#19845) X-Git-Tag: 2.7.0~125 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=574805478c19cdb487aea96922ff7177dd0844d7;p=fontconfig.git [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. --- 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" },