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

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

Issue 70193010: Update harfbuzz-ng to 0.9.24 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 struct LongHorMetric 43 struct LongHorMetric
44 { 44 {
45 USHORT advanceWidth; 45 USHORT advanceWidth;
46 SHORT lsb; 46 SHORT lsb;
47 public: 47 public:
48 DEFINE_SIZE_STATIC (4); 48 DEFINE_SIZE_STATIC (4);
49 }; 49 };
50 50
51 struct hmtx 51 struct hmtx
52 { 52 {
53 static const hb_tag_t Tag» = HB_OT_TAG_hmtx; 53 static const hb_tag_t tableTag» = HB_OT_TAG_hmtx;
54 54
55 inline bool sanitize (hb_sanitize_context_t *c) { 55 inline bool sanitize (hb_sanitize_context_t *c) {
56 TRACE_SANITIZE (this); 56 TRACE_SANITIZE (this);
57 /* We don't check for anything specific here. The users of the 57 /* We don't check for anything specific here. The users of the
58 * struct do all the hard work... */ 58 * struct do all the hard work... */
59 return TRACE_RETURN (true); 59 return TRACE_RETURN (true);
60 } 60 }
61 61
62 protected: 62 protected:
63 LongHorMetric longHorMetric[VAR]; /* Paired advance width and left side 63 LongHorMetric longHorMetric[VAR]; /* Paired advance width and left side
(...skipping 19 matching lines...) Expand all
83 * values for each glyph. */ 83 * values for each glyph. */
84 public: 84 public:
85 DEFINE_SIZE_ARRAY2 (0, longHorMetric, leftSideBearingX); 85 DEFINE_SIZE_ARRAY2 (0, longHorMetric, leftSideBearingX);
86 }; 86 };
87 87
88 88
89 } /* namespace OT */ 89 } /* namespace OT */
90 90
91 91
92 #endif /* HB_OT_HMTX_TABLE_HH */ 92 #endif /* HB_OT_HMTX_TABLE_HH */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-ot-hhea-table.hh ('k') | third_party/harfbuzz-ng/src/hb-ot-layout.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698