1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/ots/src/maxp.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,35 @@ 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_MAXP_H_ 1.9 +#define OTS_MAXP_H_ 1.10 + 1.11 +#include "ots.h" 1.12 + 1.13 +namespace ots { 1.14 + 1.15 +struct OpenTypeMAXP { 1.16 + uint16_t num_glyphs; 1.17 + bool version_1; 1.18 + 1.19 + uint16_t max_points; 1.20 + uint16_t max_contours; 1.21 + uint16_t max_c_points; 1.22 + uint16_t max_c_contours; 1.23 + 1.24 + uint16_t max_zones; 1.25 + uint16_t max_t_points; 1.26 + uint16_t max_storage; 1.27 + uint16_t max_fdefs; 1.28 + uint16_t max_idefs; 1.29 + uint16_t max_stack; 1.30 + uint16_t max_size_glyf_instructions; 1.31 + 1.32 + uint16_t max_c_components; 1.33 + uint16_t max_c_depth; 1.34 +}; 1.35 + 1.36 +} // namespace ots 1.37 + 1.38 +#endif // OTS_MAXP_H_