michael@0: // Copyright (c) 2009 The Chromium Authors. All rights reserved. michael@0: // Use of this source code is governed by a BSD-style license that can be michael@0: // found in the LICENSE file. michael@0: michael@0: #ifndef OTS_MAXP_H_ michael@0: #define OTS_MAXP_H_ michael@0: michael@0: #include "ots.h" michael@0: michael@0: namespace ots { michael@0: michael@0: struct OpenTypeMAXP { michael@0: uint16_t num_glyphs; michael@0: bool version_1; michael@0: michael@0: uint16_t max_points; michael@0: uint16_t max_contours; michael@0: uint16_t max_c_points; michael@0: uint16_t max_c_contours; michael@0: michael@0: uint16_t max_zones; michael@0: uint16_t max_t_points; michael@0: uint16_t max_storage; michael@0: uint16_t max_fdefs; michael@0: uint16_t max_idefs; michael@0: uint16_t max_stack; michael@0: uint16_t max_size_glyf_instructions; michael@0: michael@0: uint16_t max_c_components; michael@0: uint16_t max_c_depth; michael@0: }; michael@0: michael@0: } // namespace ots michael@0: michael@0: #endif // OTS_MAXP_H_