]> git.wh0rd.org Git - fontconfig.git/commitdiff
TT_MS_ID_UCS_4 is really UTF-16BE, not UTF-32
authorBehdad Esfahbod <behdad@behdad.org>
Sat, 25 Jul 2009 20:38:52 +0000 (16:38 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Sat, 25 Jul 2009 20:38:52 +0000 (16:38 -0400)
Reported by Yuriy Kaminskiy.

src/fcfreetype.c

index f721243732f3093c8ae102f5b1893b2945b746a5..b678f2658e705d9533e7866ed9def1d570d4a05a 100644 (file)
@@ -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" },