michael@0: // Copyright (c) 2011 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_GDEF_H_ michael@0: #define OTS_GDEF_H_ michael@0: michael@0: #include "ots.h" michael@0: michael@0: namespace ots { michael@0: michael@0: struct OpenTypeGDEF { michael@0: OpenTypeGDEF() michael@0: : version_2(false), michael@0: has_glyph_class_def(false), michael@0: has_mark_attachment_class_def(false), michael@0: has_mark_glyph_sets_def(false), michael@0: num_mark_glyph_sets(0), michael@0: data(NULL), michael@0: length(0) { michael@0: } michael@0: michael@0: bool version_2; michael@0: bool has_glyph_class_def; michael@0: bool has_mark_attachment_class_def; michael@0: bool has_mark_glyph_sets_def; michael@0: uint16_t num_mark_glyph_sets; michael@0: michael@0: const uint8_t *data; michael@0: size_t length; michael@0: }; michael@0: michael@0: } // namespace ots michael@0: michael@0: #endif michael@0: