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

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

Issue 1408003004: Roll harfbuzz-ng to 1.0.5 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2526
Patch Set: Created 5 years, 2 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 struct _hea 45 struct _hea
46 { 46 {
47 static const hb_tag_t tableTag = HB_TAG('_','h','e','a'); 47 static const hb_tag_t tableTag = HB_TAG('_','h','e','a');
48 48
49 static const hb_tag_t hheaTag = HB_OT_TAG_hhea; 49 static const hb_tag_t hheaTag = HB_OT_TAG_hhea;
50 static const hb_tag_t vheaTag = HB_OT_TAG_vhea; 50 static const hb_tag_t vheaTag = HB_OT_TAG_vhea;
51 51
52 inline bool sanitize (hb_sanitize_context_t *c) const 52 inline bool sanitize (hb_sanitize_context_t *c) const
53 { 53 {
54 TRACE_SANITIZE (this); 54 TRACE_SANITIZE (this);
55 return TRACE_RETURN (c->check_struct (this) && likely (version.major == 1)); 55 return_trace (c->check_struct (this) && likely (version.major == 1));
56 } 56 }
57 57
58 public: 58 public:
59 FixedVersion version; /* 0x00010000u for version 1.0. */ 59 FixedVersion version; /* 0x00010000u for version 1.0. */
60 FWORD ascender; /* Typographic ascent. */ 60 FWORD ascender; /* Typographic ascent. */
61 FWORD descender; /* Typographic descent. */ 61 FWORD descender; /* Typographic descent. */
62 FWORD lineGap; /* Typographic line gap. */ 62 FWORD lineGap; /* Typographic line gap. */
63 UFWORD advanceMax; /* Maximum advance width/height value in 63 UFWORD advanceMax; /* Maximum advance width/height value in
64 * metrics table. */ 64 * metrics table. */
65 FWORD minLeadingBearing; /* Minimum left/top sidebearing value in 65 FWORD minLeadingBearing; /* Minimum left/top sidebearing value in
(...skipping 28 matching lines...) Expand all
94 }; 94 };
95 struct vhea : _hea { 95 struct vhea : _hea {
96 static const hb_tag_t tableTag = HB_OT_TAG_vhea; 96 static const hb_tag_t tableTag = HB_OT_TAG_vhea;
97 }; 97 };
98 98
99 99
100 } /* namespace OT */ 100 } /* namespace OT */
101 101
102 102
103 #endif /* HB_OT_HHEA_TABLE_HH */ 103 #endif /* HB_OT_HHEA_TABLE_HH */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-ot-head-table.hh ('k') | third_party/harfbuzz-ng/src/hb-ot-hmtx-table.hh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698