Jeremy Huddleston [Mon, 19 Mar 2012 09:16:41 +0000 (02:16 -0700)]
fcarch: Check for architecture signature at compile time rather than configure time
https://bugs.freedesktop.org/show_bug.cgi?id=20208
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Akira TAGOH [Fri, 16 Mar 2012 14:18:23 +0000 (23:18 +0900)]
Get rid of the prerequisites from the sufix rules
Thanks to Adam Sampson for pointing this out.
Akira TAGOH [Fri, 16 Mar 2012 07:29:53 +0000 (16:29 +0900)]
Fix a build issue due to the use of non-portable variables
$< isn't supported in BSD make say. $(RM) is pre-defined in GNU make
though, not in BSD make say. so changed to check on configure if it's
pre-defined by make, otherwise set the appropriate command to $(RM).
This would be a workaround until it has the certain pre-defined value.
Akira TAGOH [Fri, 16 Mar 2012 02:55:47 +0000 (11:55 +0900)]
Revert "Fix a build fail on some environment"
This reverts commit
b75eb63982a54c0fb4576d8a655ef734908d3604.
Akira TAGOH [Fri, 16 Mar 2012 02:55:30 +0000 (11:55 +0900)]
Revert "Fix a build fail on some environment."
This reverts commit
0fdfddf2ac93c1c0238b70a265998fd6b5ffe7af.
Conflicts:
doc/Makefile.am
Akira TAGOH [Mon, 12 Mar 2012 10:02:27 +0000 (19:02 +0900)]
[doc] Update for cachedir.
<cache> element is now obsoletes and no longer used. get rid of it
from the doc and add <cachedir> instead.
Akira TAGOH [Mon, 12 Mar 2012 08:58:00 +0000 (17:58 +0900)]
[doc] Update the path for cache files and the version.
Akira TAGOH [Sat, 10 Mar 2012 17:24:33 +0000 (02:24 +0900)]
Bump version to 2.9.0
Akira TAGOH [Sat, 10 Mar 2012 17:12:10 +0000 (02:12 +0900)]
Get rid of $< from Makefile.am
Akira TAGOH [Sat, 10 Mar 2012 14:30:30 +0000 (23:30 +0900)]
Fix a build fail on some environment.
Akira TAGOH [Sat, 10 Mar 2012 13:05:07 +0000 (22:05 +0900)]
Fix a build fail on some environment
Akira TAGOH [Sat, 10 Mar 2012 10:03:05 +0000 (19:03 +0900)]
Fix a build issue
Akira TAGOH [Fri, 9 Mar 2012 13:24:18 +0000 (22:24 +0900)]
Update to detect the uncommited changes properly
Akira TAGOH [Fri, 9 Mar 2012 13:12:35 +0000 (22:12 +0900)]
Update the version info
Akira TAGOH [Fri, 9 Mar 2012 08:33:03 +0000 (17:33 +0900)]
Fix distcheck error
Akira TAGOH [Wed, 7 Mar 2012 09:16:35 +0000 (18:16 +0900)]
Bug 19128 - Handling whitespace in aliases
Add a workaround alias for Dingbats.
Akira TAGOH [Wed, 7 Mar 2012 08:56:39 +0000 (17:56 +0900)]
Check null value for given object to avoid possibly segfaulting
Akira TAGOH [Wed, 7 Mar 2012 08:32:14 +0000 (17:32 +0900)]
Bug 23336 - unable to display bitmap-only (SFNT) TrueType or OpenType
Force to find out a size for bitmap-only ttf to avoid the blank glyphs
in the font.
Patch from Bug Fly
Akira TAGOH [Tue, 28 Feb 2012 03:52:25 +0000 (12:52 +0900)]
Bug 41694 - FcCache functions have random-number-generator side effects
Use the own random number generator state if possible.
Pravin Satpute [Fri, 24 Feb 2012 07:50:14 +0000 (16:50 +0900)]
Bug 25652 - Add ortho file for locale mni_IN
Add mni.orth for Maniputi
Signed-off-by: Akira TAGOH <akira@tagoh.org>
Pravin Satpute [Fri, 24 Feb 2012 07:43:14 +0000 (16:43 +0900)]
Bug 25653 - Add ortho file for locale doi_IN
Add doi.orth for Dogri
Signed-off-by: Akira TAGOH <akira@tagoh.org>
Akira TAGOH [Thu, 23 Feb 2012 11:12:06 +0000 (20:12 +0900)]
Add brx.orth and sat.orth
Parag Nemade [Thu, 23 Feb 2012 11:06:41 +0000 (20:06 +0900)]
Bug 25650 - Add ortho file for locale sat_IN
Add sat.orth for Santali
Signed-off-by: Akira TAGOH <akira@tagoh.org>
Parag Nemade [Thu, 23 Feb 2012 10:34:18 +0000 (19:34 +0900)]
Bug 25651 - Add ortho file for locale brx_IN
Add brx.orth for Bodo.
Signed-off-by: Akira TAGOH <akira@tagoh.org>
Akira TAGOH [Thu, 23 Feb 2012 06:23:23 +0000 (15:23 +0900)]
Bug 27385 - lcdfilter settings for freetype-2.3.12 not available in fontconfig-2.8.0
Add config files for FT_LcdFilter options.
Patch from Robin Johnson.
Akira TAGOH [Wed, 22 Feb 2012 07:50:13 +0000 (16:50 +0900)]
Do not update stream->pos when seeking is failed.
Akira TAGOH [Wed, 22 Feb 2012 07:30:05 +0000 (16:30 +0900)]
Bug 46169 - Pointer error in FcConfigGlobMatch
Fix possibly accessing the invalid memory and a crash in the worst case
when the glob string is longer than the string.
Mike Frysinger [Tue, 8 Nov 2011 19:19:57 +0000 (14:19 -0500)]
makealias: handle missing funcs better
When adding new functions, if the actual definition doesn't match the
header (say due to a typo), the regeneration of the internal headers
get confused and output bad cpp logic. This causes gcc to barf due
to mismatched #ifdef/#endif. Which is a pain to figure out due to
the sheer voulme of generated code.
So tweak the makealias script to detect this case and error out.
While we're here, improve the cpp output a bit to indent, include
comments, and merge similar ifdef blocks.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Tue, 8 Nov 2011 01:09:10 +0000 (20:09 -0500)]
FcObjectValidType: tweak -1 checking
Newer gcc doesn't like when you switch on an enum and use a value
that isn't declared:
fcname.c: In function 'FcObjectValidType':
fcname.c:299:2: warning: case value '
4294967295'
not in enumerated type 'FcType' [-Wswitch]
So tweak the logic to avoid this warning.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Tue, 8 Nov 2011 00:29:57 +0000 (19:29 -0500)]
fix build warnings when using --with-arch
Latest configure code will setup FC_ARCHITECTURE directly rather than
going through ARCHITECTURE, so update fcarch.h accordingly.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Mon, 7 Nov 2011 20:33:12 +0000 (15:33 -0500)]
fc-{list,match}: constify format string
We don't free this string anywhere, so mark it const to avoid gcc warnings
and possible bugs in the future (if people did try freeing it).
fc-list.c: In function 'main':
fc-list.c:161:16: warning: pointer targets in assignment
differ in signedness [-Wpointer-sign]
fc-match.c: In function 'main':
fc-match.c:201:13: warning: pointer targets in assignment
differ in signedness [-Wpointer-sign]
fc-match.c:203:13: warning: pointer targets in assignment
differ in signedness [-Wpointer-sign]
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Mon, 7 Nov 2011 20:26:52 +0000 (15:26 -0500)]
FcName{,Get}Constant: constify string input
These funcs don't modify the incoming string, so add const markings.
This is the "right thing", shouldn't change the ABI, and fixes some
gcc warnings:
fccfg.c: In function 'FcConfigEvaluate':
fccfg.c:916:2: warning: passing argument 1 of 'IA__FcNameConstant'
discards 'const' qualifier from pointer target type [enabled by default]
fcalias.h:253:34: note: expected 'FcChar8 *' but
argument is of type 'const FcChar8 *'
fcxml.c: In function 'FcTypecheckExpr':
fcxml.c:604:2: warning: passing argument 1 of 'IA__FcNameGetConstant'
discards 'const' qualifier from pointer target type [enabled by default]
fcalias.h:251:37: note: expected 'FcChar8 *' but
argument is of type 'const FcChar8 *'
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Mon, 7 Nov 2011 20:24:53 +0000 (15:24 -0500)]
fc-cat: fix pointer warning
Add a cast to avoid a gcc warning:
fc-cat.c: In function 'cache_print_set':
fc-cat.c:230:2: warning: pointer targets in passing argument 2
of 'FcPatternFormat' differ in signedness [-Wpointer-sign]
../fontconfig/fontconfig.h:860:1: note:
expected 'const FcChar8 *' but argument is of type 'char *'
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Mon, 7 Nov 2011 20:21:51 +0000 (15:21 -0500)]
FcStat: change to FcChar8 for first arg
This shouldn't affect the ABI, makes FcStat more like the rest of the
fontconfig API, and fixes warnings where we pass FcChar8* pointers in
to this func from other places.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Mon, 7 Nov 2011 20:18:26 +0000 (15:18 -0500)]
delete unused variables
Newer gcc is better at detecting set-but-unused variables.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Mon, 7 Nov 2011 19:25:51 +0000 (14:25 -0500)]
FcStrPlus: optimize a little
We've already calculated the lengths of these strings, so re-use those
values to avoid having to rescan the strings multiple times.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Akira TAGOH [Thu, 19 Jan 2012 03:04:52 +0000 (12:04 +0900)]
Bug 44826 - <alias> must contain only a single <family>
Fix invalid syntax around alias elements in 30-metric-aliases.conf
40-nonlatin.conf and 45-latin.conf.
Patch from lolilolicon
Akira TAGOH [Tue, 20 Dec 2011 09:46:14 +0000 (18:46 +0900)]
Get rid of the unexpected family name
UmePlus P Gothic isn't a serif font.
MINAMI Hirokazu [Tue, 20 Dec 2011 09:36:35 +0000 (18:36 +0900)]
Bug 43406 - typo of Japanese font name in conf.d/65-nonlatin.conf
Fix a typo.
Signed-off-by: Akira TAGOH <akira@tagoh.org>
Pravin Satpute [Wed, 21 Dec 2011 02:38:28 +0000 (11:38 +0900)]
Bug 43321 - Required corrections in urdu.orth file
Drop U+0629 and U+0647, and add U+06c3 to ur.orth
Signed-off-by: Akira TAGOH <akira@tagoh.org>
Jinkyu Yi [Wed, 9 Nov 2011 09:07:37 +0000 (18:07 +0900)]
Bug 42423 - make default Korean font from Un to Nanum
Update 40-nonlatin.conf and 65-nonlatin.conf for Nanum korean fonts.
Signed-off-by: Akira TAGOH <akira@tagoh.org>
Akira TAGOH [Tue, 21 Feb 2012 06:29:56 +0000 (15:29 +0900)]
Bug 40452 - Running 'fc-match --all' core dumps when no fonts are installed
This would changes the behavior of FcFontSort().
it won't returns NULL afterward.
Akira TAGOH [Tue, 19 Jul 2011 11:12:09 +0000 (20:12 +0900)]
Bug 35517 - Remove Apple Roman cmap support
Get rid of the apple roman encoding related code
Akira TAGOH [Tue, 21 Feb 2012 06:11:30 +0000 (15:11 +0900)]
Add a missing file
Akira TAGOH [Mon, 14 Nov 2011 03:56:28 +0000 (12:56 +0900)]
Bug 32965 - Asturian (ast-ES) language matching missing ḷḷḥ
Add U+1E24, U+1E25, U+1E36 and U+1e37 for Asturian
Akira TAGOH [Mon, 14 Nov 2011 09:22:48 +0000 (18:22 +0900)]
Remove the unnecessary comment in ks.orth
Pravin Satpute [Fri, 11 Nov 2011 06:30:56 +0000 (15:30 +0900)]
Bug 27195 - need updates to ks.orth file
Add U+0620, U+0657, U+065f, U+0672, U+0673 and U+06c4 for Kashmiri
See http://www.unicode.org/charts/PDF/U0600.pdf
Signed-off-by: Akira TAGOH <akira@tagoh.org>
Akira TAGOH [Mon, 14 Nov 2011 08:44:24 +0000 (17:44 +0900)]
Bug 24744 - No n'ko orthography
Add nqo.orth for N'Ko
Behdad Esfahbod [Thu, 6 Oct 2011 18:59:04 +0000 (14:59 -0400)]
Add FcPublic to FcLangSetUnion and FcLangSetSubtract
Patch from ssp
Behdad Esfahbod [Wed, 5 Oct 2011 19:12:48 +0000 (15:12 -0400)]
Fix parallel build
Behdad Esfahbod [Sat, 24 Sep 2011 17:52:05 +0000 (13:52 -0400)]
Bug 41171 - Invalid use of memset
Behdad Esfahbod [Wed, 22 Jun 2011 17:06:19 +0000 (13:06 -0400)]
Fix stupid bug in FcFontSort()
I broke FcFontSort() language handling at the end of 2008 with this
commit:
c7641f28
G-d knows how many of the lang-matching bugs in bugzilla will be
fixed by this changed...
I'm really sorry, everyone!
Behdad Esfahbod [Mon, 20 Jun 2011 15:55:25 +0000 (11:55 -0400)]
Switch fc-cat to use FcPatternFormat()
Added the a builtin "fccat" to FcPatternFormat().
Behdad Esfahbod [Mon, 20 Jun 2011 15:32:46 +0000 (11:32 -0400)]
Switch fc-match to use FcPatternFormat()
Fix small bug in FcPatternFormat that was letting element-default to
consume the convertor sequence.
Behdad Esfahbod [Mon, 20 Jun 2011 15:22:17 +0000 (11:22 -0400)]
Bug 26718 - "fc-match sans file" doesn't work
- Do not throw away FC_FILE in FcNameUnparse
- Update the builtin "fclist" format to remove FC_FILE properly instead
- Switch fc-list to use FcPatternFormat()
Note that I had previously broken fc-list and it was not showing the
file name anymore. No one noticed that it seems! Now fixed.
Behdad Esfahbod [Mon, 20 Jun 2011 15:07:56 +0000 (11:07 -0400)]
Bug 36577 - Updating cache with no-bitmaps disables bitmap fonts...
Do not remove blacklisted fonts during cache generation. We already
apply the blacklist when reading the caches. The idea always has been
that the config should not affect caches built, although that design
was tarnished with the introduction of target="scan" configurations.
Behdad Esfahbod [Wed, 13 Apr 2011 02:15:37 +0000 (22:15 -0400)]
[.gitignore] Update
Behdad Esfahbod [Mon, 28 Mar 2011 20:33:12 +0000 (16:33 -0400)]
Bug 35587 - Add padding to make valgrind and glibc not hate each other
Behdad Esfahbod [Mon, 14 Mar 2011 21:58:13 +0000 (18:58 -0300)]
Fix warning
Behdad Esfahbod [Mon, 14 Mar 2011 21:49:21 +0000 (18:49 -0300)]
Always define FcStat as a function
Such that first arg is const char *. We also need to make more changes
in that function as part of some other bug.
Behdad Esfahbod [Mon, 14 Mar 2011 21:23:56 +0000 (18:23 -0300)]
More doc typo fixes
Behdad Esfahbod [Mon, 14 Mar 2011 21:21:32 +0000 (18:21 -0300)]
Mark constant strings as constant
Fixes a few compiler warnings in fcxml.c and makes it clear that they
should not be freed.
Behdad Esfahbod [Mon, 14 Mar 2011 21:04:59 +0000 (18:04 -0300)]
Bug 30566 - fcformat.c:interpret_enumerate() passes uninitialized idx to FcPatternGetLangSet()
Behdad Esfahbod [Mon, 14 Mar 2011 20:28:53 +0000 (17:28 -0300)]
Bug 20113 - Uighur (ug) orthography incomplete
Brad Hards [Fri, 11 Mar 2011 22:43:42 +0000 (19:43 -0300)]
Documentation fixes
Behdad Esfahbod [Fri, 11 Mar 2011 22:40:38 +0000 (19:40 -0300)]
Remove --enable-maintainer-mode from autogen.sh
Behdad Esfahbod [Fri, 21 Jan 2011 21:34:52 +0000 (16:34 -0500)]
Update CaseFolding.txt to Unicode 6.0
Behdad Esfahbod [Tue, 4 Jan 2011 03:18:38 +0000 (22:18 -0500)]
Remove AM_MAINTAINER_MODE
That macro is simply broken.
This was also brought up in:
Bug 32679 - fontconfig-2.8.0 does not cross compile
Behdad Esfahbod [Sun, 2 Jan 2011 20:25:29 +0000 (13:25 -0700)]
Fix assertion failure on le32d4
Reported by Jon TURNEY.
Behdad Esfahbod [Tue, 28 Dec 2010 08:58:16 +0000 (02:58 -0600)]
Doc nit
Behdad Esfahbod [Tue, 28 Dec 2010 08:55:31 +0000 (02:55 -0600)]
Skip <range> elements with begin > end
Behdad Esfahbod [Tue, 28 Dec 2010 08:52:06 +0000 (02:52 -0600)]
Add <range> support for <blank> into the DTD
Behdad Esfahbod [Tue, 28 Dec 2010 08:50:16 +0000 (02:50 -0600)]
Allow editing charset and lang in target="scan"
Merge commit '
fa269cf812ee304534b0e4c44662202496008db0'
Fixes:
Bug 31969 - Can't modify charset in target="scan"
Bug 23758 - Can't modify lang in target="scan"
Behdad Esfahbod [Tue, 28 Dec 2010 07:28:39 +0000 (01:28 -0600)]
Bump version
Behdad Esfahbod [Tue, 28 Dec 2010 06:59:19 +0000 (00:59 -0600)]
Make fc-arch stuff cross-compiling-safe
Fixes:
Bug 32679 - fontconfig-2.8.0 does not cross compile
Bug 25462 - Cross-compilation doesn't work
Behdad Esfahbod [Mon, 27 Dec 2010 19:20:47 +0000 (13:20 -0600)]
Make most generated-files cross-compiling-safe
By simply including a copy in the tarball.
Remains fc-arch which is trickier.
Akira TAGOH [Thu, 9 Dec 2010 02:57:24 +0000 (11:57 +0900)]
add some documents
Akira TAGOH [Mon, 6 Dec 2010 03:38:18 +0000 (12:38 +0900)]
Add editing langset feature.
The syntax to add any langset to the langset table looks like:
<match target="scan">
<test name="family">
<string>Buggy Sans</string>
</test>
<edit name="lang" mode="assign">
<plus>
<name>lang</name>
<langset>
<string>zh-cn</string>
<string>zh-tw</string>
</langset>
</plus>
</edit>
</match>
To remove any langset from the langset table:
<match target="scan">
<test name="family">
<string>Buggy Sans</string>
</test>
<edit name="lang" mode="assign">
<minus>
<name>lang</name>
<langset>
<string>ja</string>
</langset>
</minus>
</edit>
</match>
Akira TAGOH [Mon, 6 Dec 2010 03:18:23 +0000 (12:18 +0900)]
Add the range support in blank element
Akira TAGOH [Thu, 9 Dec 2010 02:32:26 +0000 (11:32 +0900)]
add some document for range and charset.
Akira TAGOH [Mon, 6 Dec 2010 03:10:17 +0000 (12:10 +0900)]
Add charset editing feature.
The syntax to add any characters to the charset table looks like:
<match target="scan">
<test name="family">
<string>Buggy Sans</string>
</test>
<edit name="charset" mode="assign">
<plus>
<name>charset</name>
<charset>
<int>0x3220</int> <!-- PARENTHESIZED IDEOGRAPH ONE -->
</charset>
</plus>
</edit>
</match>
To remove any characters from the charset table:
<match target="scan">
<test name="family">
<string>Buggy Sans</string>
</test>
<edit name="charset" mode="assign">
<minus>
<name>charset</name>
<charset>
<int>0x06CC</int> <!-- ARABIC LETTER FARSI YEH -->
<int>0x06D2</int> <!-- ARABIC LETTER YEH BARREE -->
<int>0x06D3</int> <!-- ARABIC LETTER YEH BARREE WITH HAMZA ABOVE -->
</charset>
</minus>
</edit>
</match>
You could also use the range element for convenience:
...
<charset>
<int>0x06CC</int> <!-- ARABIC LETTER FARSI YEH -->
<range>
<int>0x06D2</int> <!-- ARABIC LETTER YEH BARREE -->
<int>0x06D3</int> <!-- ARABIC LETTER YEH BARREE WITH HAMZA ABOVE -->
</range>
</charset>
...
Behdad Esfahbod [Tue, 7 Dec 2010 23:48:56 +0000 (18:48 -0500)]
Bug 28958 - lang=en matches other langs
Patch from Akira TAGOH.
Behdad Esfahbod [Thu, 2 Dec 2010 13:13:59 +0000 (08:13 -0500)]
Fix returned value
Behdad Esfahbod [Wed, 10 Nov 2010 21:45:42 +0000 (16:45 -0500)]
Cleanup copyright notices to replace "Keith Packard" with "the author(s)"
Behdad Esfahbod [Wed, 10 Nov 2010 20:27:10 +0000 (15:27 -0500)]
Add more copyright owners
Jeremy Huddleston [Wed, 3 Nov 2010 08:08:12 +0000 (01:08 -0700)]
fontconfig.pc.in: Add sysconfdir, localstatedir, and PACKAGE
In the default case, cachedir and confdir will evaluate to something
referencing these other variables (which wouldn't otherwise be defined
in the pkg-config file.
Fixes a regression introduced by
81b542b50f82f8a0ad9f38f7d913fe5433631166
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Tested-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Jeremy Huddleston [Wed, 6 Oct 2010 18:21:29 +0000 (11:21 -0700)]
fontconfig.pc: Add variables for confdir and cachedir
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Behdad Esfahbod [Tue, 21 Sep 2010 17:18:05 +0000 (13:18 -0400)]
Bug 24729 - [ne_NP] Fix ortho file
Exclude three characters (U+090C..090E) from Nepalese.
Behdad Esfahbod [Tue, 21 Sep 2010 17:14:55 +0000 (13:14 -0400)]
[fc-lang] Support excluding characters
By prefixing a line by a hyphen/minus sign. Useful when including
other orth files.
Behdad Esfahbod [Tue, 21 Sep 2010 17:14:41 +0000 (13:14 -0400)]
Add new public API: FcCharSetDelChar()
Behdad Esfahbod [Fri, 3 Sep 2010 12:11:00 +0000 (08:11 -0400)]
Bug 29995 - fc-cat does not invoke FcFini()
Behdad Esfahbod [Wed, 18 Aug 2010 15:31:31 +0000 (11:31 -0400)]
Add comments
Behdad Esfahbod [Thu, 5 Aug 2010 19:58:09 +0000 (15:58 -0400)]
Bug 29338 - fc-pattern.sgml, open para tag
Alan Coopersmith [Thu, 3 Jun 2010 02:38:19 +0000 (22:38 -0400)]
Fix compiler warnings
Behdad Esfahbod [Wed, 21 Apr 2010 03:18:00 +0000 (23:18 -0400)]
Add fc-pattern cmdline tool
Behdad Esfahbod [Mon, 12 Apr 2010 16:49:53 +0000 (12:49 -0400)]
Fix comment
Behdad Esfahbod [Mon, 12 Apr 2010 16:18:50 +0000 (12:18 -0400)]
Remove all training whitespaces
Behdad Esfahbod [Mon, 12 Apr 2010 16:10:05 +0000 (12:10 -0400)]
More whitespace
Behdad Esfahbod [Mon, 12 Apr 2010 15:52:09 +0000 (11:52 -0400)]
Whitespace
Behdad Esfahbod [Wed, 7 Apr 2010 16:47:37 +0000 (12:47 -0400)]
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.