• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #ifndef OTS_GASP_H_
6 #define OTS_GASP_H_
7 
8 #include <utility>  // std::pair
9 #include <vector>
10 
11 #include "ots.h"
12 
13 namespace ots {
14 
15 struct OpenTypeGASP {
16   uint16_t version;
17   // A array of (max PPEM, GASP behavior) pairs.
18   std::vector<std::pair<uint16_t, uint16_t> > gasp_ranges;
19 };
20 
21 }  // namespace ots
22 
23 #endif  // OTS_GASP_H_
24