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

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

Issue 341983012: OTS: Add DoNotDropColorBitmapTables() API. (Closed) Base URL: http://ots.googlecode.com/svn/
Patch Set: Created 6 years, 5 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 | trunk/ots-common.gypi » ('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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
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). 194 // Enable WOFF2 support(experimental).
195 // TODO(bashi): Remove WOFF2 from OTS.
195 void EnableWOFF2(); 196 void EnableWOFF2();
196 197
198 // Force to disable dropping CBDT/CBLC tables.
199 void DoNotDropColorBitmapTables();
200
197 } // namespace ots 201 } // namespace ots
198 202
199 #endif // OPENTYPE_SANITISER_H_ 203 #endif // OPENTYPE_SANITISER_H_
OLDNEW
« no previous file with comments | « no previous file | trunk/ots-common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698