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

Side by Side Diff: third_party/harfbuzz-ng/src/hb-ot-name-table.hh

Issue 396393005: Roll HarfBuzz to 0.9.32 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for include order presubmit issue Created 6 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright © 2011,2012 Google, Inc. 2 * Copyright © 2011,2012 Google, Inc.
3 * 3 *
4 * This is part of HarfBuzz, a text shaping library. 4 * This is part of HarfBuzz, a text shaping library.
5 * 5 *
6 * Permission is hereby granted, without written agreement and without 6 * Permission is hereby granted, without written agreement and without
7 * license or royalty fees, to use, copy, modify, and distribute this 7 * license or royalty fees, to use, copy, modify, and distribute this
8 * software and its documentation for any purpose, provided that the 8 * software and its documentation for any purpose, provided that the
9 * above copyright notice and the following two paragraphs appear in 9 * above copyright notice and the following two paragraphs appear in
10 * all copies of this software. 10 * all copies of this software.
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 TRACE_SANITIZE (this); 114 TRACE_SANITIZE (this);
115 return TRACE_RETURN (c->check_struct (this) && 115 return TRACE_RETURN (c->check_struct (this) &&
116 likely (format == 0 || format == 1) && 116 likely (format == 0 || format == 1) &&
117 c->check_array (nameRecord, nameRecord[0].static_size, count) && 117 c->check_array (nameRecord, nameRecord[0].static_size, count) &&
118 sanitize_records (c)); 118 sanitize_records (c));
119 } 119 }
120 120
121 /* We only implement format 0 for now. */ 121 /* We only implement format 0 for now. */
122 USHORT format; /* Format selector (=0/1). */ 122 USHORT format; /* Format selector (=0/1). */
123 USHORT count; /* Number of name records. */ 123 USHORT count; /* Number of name records. */
124 Offset» stringOffset;» » /* Offset to start of string storage (fr om start of table). */ 124 Offset<>» stringOffset;» » /* Offset to start of string storage (fr om start of table). */
125 NameRecord nameRecord[VAR]; /* The name records where count is the n umber of records. */ 125 NameRecord nameRecord[VAR]; /* The name records where count is the n umber of records. */
126 public: 126 public:
127 DEFINE_SIZE_ARRAY (6, nameRecord); 127 DEFINE_SIZE_ARRAY (6, nameRecord);
128 }; 128 };
129 129
130 130
131 } /* namespace OT */ 131 } /* namespace OT */
132 132
133 133
134 #endif /* HB_OT_NAME_TABLE_HH */ 134 #endif /* HB_OT_NAME_TABLE_HH */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-ot-maxp-table.hh ('k') | third_party/harfbuzz-ng/src/hb-ot-shape.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698