Provide user friendly messages for OTS parsing of fonts
commitb95f5001ecd2a621ceeb5a8e60f89c76b3bc8ba1
authorh.joshi@samsung.com <h.joshi@samsung.com>
Mon, 22 Jun 2015 05:16:41 +0000 (22 05:16 +0000)
committerh.joshi@samsung.com <h.joshi@samsung.com>
Mon, 22 Jun 2015 05:16:41 +0000 (22 05:16 +0000)
tree33c7b8dbb1fcf6f767d3eca1bfc0a708aac002fb
parent680b2236f7344c672ac0265c70a855670eb8c784
Provide user friendly messages for OTS parsing of fonts

Add feature to provide user (font-developer) friendly messages for
used web font parsing errors.

Few new error/warnings related to font parsing and tables are added
in https://codereview.chromium.org/966703002/.

BUG=97467

Review URL: https://codereview.chromium.org/983973004

git-svn-id: svn://svn.chromium.org/blink/trunk@197551 bbb929c8-8fbe-4397-9dbb-9b2b20218538
12 files changed:
third_party/WebKit/LayoutTests/TestExpectations
third_party/WebKit/Source/core/css/BinaryDataFontFaceSource.cpp
third_party/WebKit/Source/core/css/BinaryDataFontFaceSource.h
third_party/WebKit/Source/core/css/FontFace.cpp
third_party/WebKit/Source/core/css/FontFace.h
third_party/WebKit/Source/core/css/FontLoader.cpp
third_party/WebKit/Source/core/fetch/FontResource.cpp
third_party/WebKit/Source/core/fetch/FontResource.h
third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.cpp
third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.h
third_party/WebKit/Source/platform/fonts/opentype/OpenTypeSanitizer.cpp
third_party/WebKit/Source/platform/fonts/opentype/OpenTypeSanitizer.h