blob: f896e0d57408d85bef7c34e486ec66283c4e6a98 [file] [log] [blame]
bashi@google.com00b790a2011-01-27 06:35:42 +00001// Copyright (c) 2011 The Chromium 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.
4
5#ifndef OTS_GDEF_H_
6#define OTS_GDEF_H_
7
8#include "ots.h"
9
10namespace ots {
11
12struct OpenTypeGDEF {
13 OpenTypeGDEF()
14 : version_2(false),
bashi@google.com78a8baa2011-02-07 06:21:25 +000015 has_mark_attachment_class_def(false),
16 has_mark_glyph_sets_def(false),
17 num_mark_glyph_sets(0),
bashi@google.com00b790a2011-01-27 06:35:42 +000018 data(NULL),
19 length(0) {
20 }
21
22 bool version_2;
bashi@google.com78a8baa2011-02-07 06:21:25 +000023 bool has_mark_attachment_class_def;
24 bool has_mark_glyph_sets_def;
25 uint16_t num_mark_glyph_sets;
26
bashi@google.com00b790a2011-01-27 06:35:42 +000027 const uint8_t *data;
28 size_t length;
29};
30
31} // namespace ots
32
33#endif
34