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

Side by Side Diff: third_party/harfbuzz-ng/src/hb-ot-hhea-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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 struct hhea 43 struct hhea
44 { 44 {
45 static const hb_tag_t tableTag = HB_OT_TAG_hhea; 45 static const hb_tag_t tableTag = HB_OT_TAG_hhea;
46 46
47 inline bool sanitize (hb_sanitize_context_t *c) { 47 inline bool sanitize (hb_sanitize_context_t *c) {
48 TRACE_SANITIZE (this); 48 TRACE_SANITIZE (this);
49 return TRACE_RETURN (c->check_struct (this) && likely (version.major == 1)); 49 return TRACE_RETURN (c->check_struct (this) && likely (version.major == 1));
50 } 50 }
51 51
52 protected: 52 public:
53 FixedVersion» version;» » /* 0x00010000 for version 1.0. */ 53 FixedVersion» version;» » /* 0x00010000u for version 1.0. */
54 FWORD ascender; /* Typographic ascent. <a 54 FWORD ascender; /* Typographic ascent. <a
55 * href="http://developer.apple.com/font s/TTRefMan/RM06/Chap6hhea.html"> 55 * href="http://developer.apple.com/font s/TTRefMan/RM06/Chap6hhea.html">
56 * (Distance from baseline of highest 56 * (Distance from baseline of highest
57 * ascender)</a> */ 57 * ascender)</a> */
58 FWORD descender; /* Typographic descent. <a 58 FWORD descender; /* Typographic descent. <a
59 * href="http://developer.apple.com/font s/TTRefMan/RM06/Chap6hhea.html"> 59 * href="http://developer.apple.com/font s/TTRefMan/RM06/Chap6hhea.html">
60 * (Distance from baseline of lowest 60 * (Distance from baseline of lowest
61 * descender)</a> */ 61 * descender)</a> */
62 FWORD lineGap; /* Typographic line gap. Negative 62 FWORD lineGap; /* Typographic line gap. Negative
63 * LineGap values are treated as zero 63 * LineGap values are treated as zero
(...skipping 24 matching lines...) Expand all
88 * table */ 88 * table */
89 public: 89 public:
90 DEFINE_SIZE_STATIC (36); 90 DEFINE_SIZE_STATIC (36);
91 }; 91 };
92 92
93 93
94 } /* namespace OT */ 94 } /* namespace OT */
95 95
96 96
97 #endif /* HB_OT_HHEA_TABLE_HH */ 97 #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