]> git.wh0rd.org Git - fontconfig.git/commit
Accept TT_PLATFORM_MICROSOFT, TT_MS_ID_SYMBOL_CS from name table
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 7 Apr 2010 16:47:37 +0000 (12:47 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 7 Apr 2010 16:49:30 +0000 (12:49 -0400)
commit632612b810f1c8eb5b75ba1465d10cb31af0cbf0
treed5a47f0ea7406983ca243e4fc65905311f0435b3
parent300b495dc400df401afaacfa4e986092ea119865
Accept TT_PLATFORM_MICROSOFT, TT_MS_ID_SYMBOL_CS from name table

The OT spec says:

"When building a Unicode font for Windows, the platform ID should be 3 and the
encoding ID should be 1. When building a symbol font for Windows, the platform
ID should be 3 and the encoding ID should be 0."

We were ignoring the SYMBOL_CS entry before.  It's UTF-16/UCS-2 like the
UNICODE_CS.

Also, always use UTF-16BE instead of UCS-2BE.  The conversion was doing
UTF-16BE anyway.
src/fcfreetype.c