diff options
author | ksakamoto@chromium.org <ksakamoto@chromium.org@a4e77c2c-9104-11de-800e-5b313e0d2bf3> | 2013-05-08 01:20:29 +0000 |
---|---|---|
committer | ksakamoto@chromium.org <ksakamoto@chromium.org@a4e77c2c-9104-11de-800e-5b313e0d2bf3> | 2013-05-08 01:20:29 +0000 |
commit | 74343ba7bd420519a9a4f7b22977d7771286f6f8 (patch) | |
tree | 9b84f1406202748bcea1659cf56a77151f7032ad /include | |
parent | 2e1bb350e46543d05bbe6cb567d62f5182947f30 (diff) | |
download | ots-74343ba7bd420519a9a4f7b22977d7771286f6f8.tar.gz |
[OTS] Integrate WOFF 2.0 algorithm into OTS
Add woff2.h and woff2.cc from the WOFF 2.0 reference implementation
(https://code.google.com/p/font-compression-reference/).
WOFF2 support is disabled by default and is enabled by ots::EnableWOFF2().
Patch originally by bashi@chromium.org.
BUG=122603
R=yusukes@chromium.org
Review URL: https://codereview.chromium.org/13918002
git-svn-id: http://ots.googlecode.com/svn/trunk@100 a4e77c2c-9104-11de-800e-5b313e0d2bf3
Diffstat (limited to 'include')
-rw-r--r-- | include/opentype-sanitiser.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/opentype-sanitiser.h b/include/opentype-sanitiser.h index 4d9a15d..6a3492f 100644 --- a/include/opentype-sanitiser.h +++ b/include/opentype-sanitiser.h @@ -191,6 +191,9 @@ bool Process(OTSStream *output, const uint8_t *input, size_t length); // -DOTS_DEBUG. void DisableDebugOutput(); +// Enable WOFF2 support(experimental). +void EnableWOFF2(); + } // namespace ots #endif // OPENTYPE_SANITISER_H_ |