1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/ots/src/gdef.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,36 @@ 1.4 +// Copyright (c) 2011 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_GDEF_H_ 1.9 +#define OTS_GDEF_H_ 1.10 + 1.11 +#include "ots.h" 1.12 + 1.13 +namespace ots { 1.14 + 1.15 +struct OpenTypeGDEF { 1.16 + OpenTypeGDEF() 1.17 + : version_2(false), 1.18 + has_glyph_class_def(false), 1.19 + has_mark_attachment_class_def(false), 1.20 + has_mark_glyph_sets_def(false), 1.21 + num_mark_glyph_sets(0), 1.22 + data(NULL), 1.23 + length(0) { 1.24 + } 1.25 + 1.26 + bool version_2; 1.27 + bool has_glyph_class_def; 1.28 + bool has_mark_attachment_class_def; 1.29 + bool has_mark_glyph_sets_def; 1.30 + uint16_t num_mark_glyph_sets; 1.31 + 1.32 + const uint8_t *data; 1.33 + size_t length; 1.34 +}; 1.35 + 1.36 +} // namespace ots 1.37 + 1.38 +#endif 1.39 +