merge from asterix_opentype r303:339 for code review

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_opentype_mergeback_staging@340 eaa15691-b419-025a-1212-ee371bd00084