Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(481)

Side by Side Diff: include/opentype-sanitiser.h

Issue 13918002: [OTS] Integrate WOFF 2.0 algorithm into OTS (Closed) Base URL: http://ots.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ots.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef OPENTYPE_SANITISER_H_ 5 #ifndef OPENTYPE_SANITISER_H_
6 #define OPENTYPE_SANITISER_H_ 6 #define OPENTYPE_SANITISER_H_
7 7
8 #if defined(_WIN32) 8 #if defined(_WIN32)
9 #include <stdlib.h> 9 #include <stdlib.h>
10 typedef signed char int8_t; 10 typedef signed char int8_t;
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // partial output may have been written. 184 // partial output may have been written.
185 // input: the OpenType file 185 // input: the OpenType file
186 // length: the size, in bytes, of |input| 186 // length: the size, in bytes, of |input|
187 // ----------------------------------------------------------------------------- 187 // -----------------------------------------------------------------------------
188 bool Process(OTSStream *output, const uint8_t *input, size_t length); 188 bool Process(OTSStream *output, const uint8_t *input, size_t length);
189 189
190 // Force to disable debug output even when the library is compiled with 190 // Force to disable debug output even when the library is compiled with
191 // -DOTS_DEBUG. 191 // -DOTS_DEBUG.
192 void DisableDebugOutput(); 192 void DisableDebugOutput();
193 193
194 // Enable WOFF2 support(experimental).
195 void EnableWOFF2();
196
194 } // namespace ots 197 } // namespace ots
195 198
196 #endif // OPENTYPE_SANITISER_H_ 199 #endif // OPENTYPE_SANITISER_H_
OLDNEW
« no previous file with comments | « no previous file | ots.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698