From: Behdad Esfahbod Date: Sat, 25 Jul 2009 20:38:52 +0000 (-0400) Subject: TT_MS_ID_UCS_4 is really UTF-16BE, not UTF-32 X-Git-Tag: 2.7.1~5 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=7575c666619c58df00659d4e70b01104b8e114a5;p=fontconfig.git TT_MS_ID_UCS_4 is really UTF-16BE, not UTF-32 Reported by Yuriy Kaminskiy. --- diff --git a/src/fcfreetype.c b/src/fcfreetype.c index f721243..b678f26 100644 --- a/src/fcfreetype.c +++ b/src/fcfreetype.c @@ -124,7 +124,7 @@ static const FcFtEncoding fcFtEncoding[] = { { 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" }, - { TT_PLATFORM_MICROSOFT, TT_MS_ID_UCS_4, "UCS4" }, + { TT_PLATFORM_MICROSOFT, TT_MS_ID_UCS_4, "UCS-2BE" }, { TT_PLATFORM_ISO, TT_ISO_ID_7BIT_ASCII, "ASCII" }, { TT_PLATFORM_ISO, TT_ISO_ID_10646, "UCS-2BE" }, { TT_PLATFORM_ISO, TT_ISO_ID_8859_1, "ISO-8859-1" },