OLD | NEW |
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 OTS_GASP_H_ | 5 #ifndef OTS_GASP_H_ |
6 #define OTS_GASP_H_ | 6 #define OTS_GASP_H_ |
7 | 7 |
8 #include <utility> // std::pair | 8 #include <new> |
| 9 #include <utility> |
9 #include <vector> | 10 #include <vector> |
10 | 11 |
11 #include "ots.h" | 12 #include "ots.h" |
12 | 13 |
13 namespace ots { | 14 namespace ots { |
14 | 15 |
15 struct OpenTypeGASP { | 16 struct OpenTypeGASP { |
16 uint16_t version; | 17 uint16_t version; |
17 // A array of (max PPEM, GASP behavior) pairs. | 18 // A array of (max PPEM, GASP behavior) pairs. |
18 std::vector<std::pair<uint16_t, uint16_t> > gasp_ranges; | 19 std::vector<std::pair<uint16_t, uint16_t> > gasp_ranges; |
19 }; | 20 }; |
20 | 21 |
21 } // namespace ots | 22 } // namespace ots |
22 | 23 |
23 #endif // OTS_GASP_H_ | 24 #endif // OTS_GASP_H_ |
OLD | NEW |