Adds woff header checks
Adds woff header checks

Add some woff header checks to pass W3C WOFF User Agent test suite.
http://w3c-test.org/framework/suite/woff-ua/

The following testcases should pass by adding this checks.
- blocks-extraneous-data-00[1-7]
- blocks-overlap-00[1-3]
- directory-extraneous-data-001
- directory-overlaps-00[34]
- header-totalSfntSize-00[13]

The CL will make OTS pass all testcases execpt for directory-4-byte-002.
OTS intentionally doesn't pass directory-4-byte-002 to workaround a font
generator bug. See http://crbug.com/47960 for details.

BUG=chromium:109813
TEST=Checked 291 testcases at http://w3c-test.org/framework/suite/woff-ua/ manually.

Review URL: http://codereview.chromium.org/9193002/



git-svn-id: 0e3d3500f59afd9abff519869ed878e5f2d4e9ab@79 a4e77c2c-9104-11de-800e-5b313e0d2bf3

yinquan529/platform-external-chromium_org-third_party-ots,MIPS/external-chromium_org-third_party-ots,IllusionRom-deprecated/android_platform_external_chromium_org_third_party_ots,AOSPU/external_chromium_org_third_party_ots,TeamEOS/external_chromium_org_third_party_ots,IllusionRom-deprecated/android_platform_external_chromium_org_third_party_ots,jgcaaprom/android_external_chromium_org_third_party_ots,xin3liang/platform_external_chromium_org_third_party_ots,geekboxzone/lollipop_external_chromium_org_third_party_ots,bpsinc-native/src_third_party_ots,TeamEOS/external_chromium_org_third_party_ots,jgcaaprom/android_external_chromium_org_third_party_ots,Omegaphora/external_chromium_org_third_party_ots,android-ia/platform_external_chromium_org_third_party_ots,IllusionRom-deprecated/android_platform_external_chromium_org_third_party_ots,AOSPU/external_chromium_org_third_party_ots,Omegaphora/external_chromium_org_third_party_ots,AOSPU/external_chromium_org_third_party_ots,yinquan529/platform-external-chromium_org-third_party-ots,xin3liang/platform_external_chromium_org_third_party_ots,jgcaaprom/android_external_chromium_org_third_party_ots,IllusionRom-deprecated/android_platform_external_chromium_org_third_party_ots,TeamEOS/external_chromium_org_third_party_ots,bpsinc-native/src_third_party_ots,android-ia/platform_external_chromium_org_third_party_ots,geekboxzone/lollipop_external_chromium_org_third_party_ots,MIPS/external-chromium_org-third_party-ots,MIPS/external-chromium_org-third_party-ots,bpsinc-native/src_third_party_ots,yinquan529/platform-external-chromium_org-third_party-ots,geekboxzone/lollipop_external_chromium_org_third_party_ots,xin3liang/platform_external_chromium_org_third_party_ots,android-ia/platform_external_chromium_org_third_party_ots,AOSPU/external_chromium_org_third_party_ots,xin3liang/platform_external_chromium_org_third_party_ots,MIPS/external-chromium_org-third_party-ots,Omegaphora/external_chromium_org_third_party_ots