OTS: Add GSUB table support.
- Added src/gsub.{cc,h} for supporting GSUB table.
- Many fonts don't arrange script and feature tags in alphabetical order and
it might not be a security issue so no longer treat it as an error.
BUG=27131
TEST=http://code.google.com/p/ots/wiki/HowToTestOts (Verified with ~4000 TrueType/OpenType fonts)
TEST=Confirmed that chrome can render the W3C font tests[1] for TTF font linking of Complex scripts(Khmer and Devanagari) as expected by hand.
[1] http://www.w3.org/International/tests/tests-html-css/list-fonts
git-svn-id: http://ots.googlecode.com/svn/trunk@57 a4e77c2c-9104-11de-800e-5b313e0d2bf3
diff --git a/ots-common.gypi b/ots-common.gypi
index 49ea063..f023de3 100644
--- a/ots-common.gypi
+++ b/ots-common.gypi
@@ -25,6 +25,8 @@
'src/glyf.h',
'src/gpos.cc',
'src/gpos.h',
+ 'src/gsub.cc',
+ 'src/gsub.h',
'src/hdmx.cc',
'src/hdmx.h',
'src/head.cc',