1 // Copyright (c) 2009-2017 The OTS 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.
16 class OpenTypeGASP
: public Table
{
18 explicit OpenTypeGASP(Font
*font
, uint32_t tag
)
19 : Table(font
, tag
, tag
) { }
21 bool Parse(const uint8_t *data
, size_t length
);
22 bool Serialize(OTSStream
*out
);
26 // A array of (max PPEM, GASP behavior) pairs.
27 std::vector
<std::pair
<uint16_t, uint16_t> > gasp_ranges
;