blob: f3f434ffe2a30faf75e96b58296d66019ef6bc8c [file] [log] [blame]
yusukes@chromium.orgd257d182009-11-04 04:56:32 +00001// 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
13namespace ots {
14
15struct OpenTypeGASP {
16 uint16_t version;
yusukes@chromium.orga4099a32009-11-12 01:43:51 +000017 // A array of (max PPEM, GASP behavior) pairs.
18 std::vector<std::pair<uint16_t, uint16_t> > gasp_ranges;
yusukes@chromium.orgd257d182009-11-04 04:56:32 +000019};
20
21} // namespace ots
22
23#endif // OTS_GASP_H_