OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 // This is the implementation of decompression of the proposed WOFF Ultra | 5 // This is the implementation of decompression of the proposed WOFF Ultra |
6 // Condensed file format. | 6 // Condensed file format. |
7 | 7 |
8 #include <cassert> | 8 #include <cassert> |
9 #include <cstdlib> | 9 #include <cstdlib> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "third_party/brotli/src/brotli/dec/decode.h" | 12 #include "third_party/brotli/dec/decode.h" |
13 | 13 |
14 #include "opentype-sanitiser.h" | 14 #include "opentype-sanitiser.h" |
15 #include "ots-memory-stream.h" | 15 #include "ots-memory-stream.h" |
16 #include "ots.h" | 16 #include "ots.h" |
17 #include "woff2.h" | 17 #include "woff2.h" |
18 | 18 |
19 #define TABLE_NAME "WOFF2" | 19 #define TABLE_NAME "WOFF2" |
20 | 20 |
21 namespace { | 21 namespace { |
22 | 22 |
(...skipping 959 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
982 return OTS_FAILURE(); | 982 return OTS_FAILURE(); |
983 } | 983 } |
984 } | 984 } |
985 | 985 |
986 return FixChecksums(tables, result); | 986 return FixChecksums(tables, result); |
987 } | 987 } |
988 | 988 |
989 } // namespace ots | 989 } // namespace ots |
990 | 990 |
991 #undef TABLE_NAME | 991 #undef TABLE_NAME |
OLD | NEW |