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.
12 class OpenTypeMAXP
: public Table
{
14 explicit OpenTypeMAXP(Font
*font
, uint32_t tag
)
15 : Table(font
, tag
, tag
) { }
17 bool Parse(const uint8_t *data
, size_t length
);
18 bool Serialize(OTSStream
*out
);
24 uint16_t max_contours
;
25 uint16_t max_c_points
;
26 uint16_t max_c_contours
;
29 uint16_t max_t_points
;
34 uint16_t max_size_glyf_instructions
;
36 uint16_t max_c_components
;