Update OTS to fbe8db1

Desktop / Chromium - Kunihiko Sakamoto [chromium.org] - 26 October 2017 05:55 EDT

This updates OTS from 010db68e (Aug 2) to fbe8db1 (Oct 25).

Notable changes (from https://github.com/khaledhosny/ots/releases):

[ots] Improve warnings and error messages. [ots] Don’t reject fonts with malformed table tags, the tables themselves are still dropped. [glyf] Allow simple glyph flag bit 6 to be set [glyf] Allow empty, none-zero size table. [glyf] Accept glyphs with 0 numberOfContours. [glyf] Sanitize composite glyphs. [glyf] Don’t reject glyphs with extra data at end. [post] Correctly parse the header for all table versions. [layout] Relax GSUB/GPOS DFLT table requirements, after the update in OpenType 1.8.2 spec.

Bug: 776946 Change-Id: I8a08b996e8ddde41fbf000a40e758d9b7acb1570 Reviewed-on: https://chromium-review.googlesource.com/737738

6904bbe0 Update OTS to fbe8db1
third_party/ots/INSTALL | 2 +-
third_party/ots/Makefile.am | 640 ++++++++++++++++--
third_party/ots/README.chromium | 5 +-
third_party/ots/configure.ac | 42 +-
third_party/ots/include/opentype-sanitiser.h | 32 +-
third_party/ots/src/cff.cc | 74 +-
third_party/ots/src/cff.h | 22 +-
third_party/ots/src/cmap.cc | 335 +++++----
third_party/ots/src/cmap.h | 19 +-
third_party/ots/src/cvt.cc | 45 +-
third_party/ots/src/cvt.h | 11 +-
third_party/ots/src/feat.cc | 193 ++++++
third_party/ots/src/feat.h | 61 ++
third_party/ots/src/fpgm.cc | 41 +-
third_party/ots/src/fpgm.h | 11 +-
third_party/ots/src/gasp.cc | 83 +--
third_party/ots/src/gasp.h | 10 +-
third_party/ots/src/gdef.cc | 213 +++---
third_party/ots/src/gdef.h | 26 +-
third_party/ots/src/glat.cc | 446 ++++++++++++
third_party/ots/src/glat.h | 172 +++++
third_party/ots/src/gloc.cc | 108 +++
third_party/ots/src/gloc.h | 36 +
third_party/ots/src/glyf.cc | 324 +++++----
third_party/ots/src/glyf.h | 20 +-
third_party/ots/src/gpos.cc | 120 ++--
third_party/ots/src/gpos.h | 20 +-
third_party/ots/src/graphite.h | 95 +++
third_party/ots/src/gsub.cc | 118 ++--
third_party/ots/src/gsub.h | 20 +-
third_party/ots/src/hdmx.cc | 123 ++--
third_party/ots/src/hdmx.h | 11 +-
third_party/ots/src/head.cc | 137 ++--
third_party/ots/src/head.h | 11 +-
third_party/ots/src/hhea.cc | 42 +-
third_party/ots/src/hhea.h | 9 +-
third_party/ots/src/hmtx.cc | 41 +-
third_party/ots/src/hmtx.h | 10 +-
third_party/ots/src/kern.cc | 129 ++--
third_party/ots/src/kern.h | 11 +-
third_party/ots/src/layout.cc | 35 +-
third_party/ots/src/loca.cc | 70 +-
third_party/ots/src/loca.h | 9 +-
third_party/ots/src/ltsh.cc | 76 +--
third_party/ots/src/ltsh.h | 11 +-
third_party/ots/src/math.cc | 207 +++---
third_party/ots/src/math_.h | 60 +-
third_party/ots/src/maxp.cc | 126 ++--
third_party/ots/src/maxp.h | 9 +-
third_party/ots/src/metrics.cc | 178 ++---
third_party/ots/src/metrics.h | 38 +-
third_party/ots/src/name.cc | 129 ++--
third_party/ots/src/name.h | 13 +-
third_party/ots/src/os2.cc | 368 +++++-----
third_party/ots/src/os2.h | 13 +-
third_party/ots/src/ots.cc | 564 ++++++++++------
third_party/ots/src/ots.h | 195 +++---
third_party/ots/src/post.cc | 143 ++--
third_party/ots/src/post.h | 10 +-
third_party/ots/src/prep.cc | 42 +-
third_party/ots/src/prep.h | 15 +-
third_party/ots/src/sile.cc | 74 ++
third_party/ots/src/sile.h | 36 +
third_party/ots/src/silf.cc | 977 +++++++++++++++++++++++++++
third_party/ots/src/silf.h | 196 ++++++
third_party/ots/src/sill.cc | 159 +++++
third_party/ots/src/sill.h | 53 ++
third_party/ots/src/vdmx.cc | 123 ++--
third_party/ots/src/vdmx.h | 11 +-
third_party/ots/src/vhea.cc | 47 +-
third_party/ots/src/vhea.h | 10 +-
third_party/ots/src/vmtx.cc | 44 +-
third_party/ots/src/vmtx.h | 11 +-
third_party/ots/src/vorg.cc | 80 +--
third_party/ots/src/vorg.h | 11 +-
75 files changed, 5615 insertions(+), 2396 deletions(-)

Upstream: git.chromium.org


  • Share