Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: src/gdef.h

Issue 6410047: OTS: Adds more layout common table supports.... (Closed) Base URL: http://ots.googlecode.com/svn/trunk/
Patch Set: '' Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « include/ots-memory-stream.h ('k') | src/gdef.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef OTS_GDEF_H_ 5 #ifndef OTS_GDEF_H_
6 #define OTS_GDEF_H_ 6 #define OTS_GDEF_H_
7 7
8 #include "ots.h" 8 #include "ots.h"
9 9
10 namespace ots { 10 namespace ots {
11 11
12 struct OpenTypeGDEF { 12 struct OpenTypeGDEF {
13 OpenTypeGDEF() 13 OpenTypeGDEF()
14 : version_2(false), 14 : version_2(false),
15 has_mark_attachment_class_def(false),
16 has_mark_glyph_sets_def(false),
17 num_mark_glyph_sets(0),
15 data(NULL), 18 data(NULL),
16 length(0) { 19 length(0) {
17 } 20 }
18 21
19 bool version_2; 22 bool version_2;
23 bool has_mark_attachment_class_def;
24 bool has_mark_glyph_sets_def;
25 uint16_t num_mark_glyph_sets;
26
20 const uint8_t *data; 27 const uint8_t *data;
21 size_t length; 28 size_t length;
22 }; 29 };
23 30
24 } // namespace ots 31 } // namespace ots
25 32
26 #endif 33 #endif
27 34
OLDNEW
« no previous file with comments | « include/ots-memory-stream.h ('k') | src/gdef.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698