1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/ots/src/gasp.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,24 @@ 1.4 +// Copyright (c) 2009 The Chromium Authors. All rights reserved. 1.5 +// Use of this source code is governed by a BSD-style license that can be 1.6 +// found in the LICENSE file. 1.7 + 1.8 +#ifndef OTS_GASP_H_ 1.9 +#define OTS_GASP_H_ 1.10 + 1.11 +#include <new> 1.12 +#include <utility> 1.13 +#include <vector> 1.14 + 1.15 +#include "ots.h" 1.16 + 1.17 +namespace ots { 1.18 + 1.19 +struct OpenTypeGASP { 1.20 + uint16_t version; 1.21 + // A array of (max PPEM, GASP behavior) pairs. 1.22 + std::vector<std::pair<uint16_t, uint16_t> > gasp_ranges; 1.23 +}; 1.24 + 1.25 +} // namespace ots 1.26 + 1.27 +#endif // OTS_GASP_H_