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

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

Issue 2858683002: Roll HarfBuzz to 1.4.6 (Closed)
Patch Set: Rebase Created 3 years, 7 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 © 2017 Google, Inc. 2 * Copyright © 2017 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 } 71 }
72 72
73 protected: 73 protected:
74 inline unsigned int get_width (void) const 74 inline unsigned int get_width (void) const
75 { return ((format >> 4) & 3) + 1; } 75 { return ((format >> 4) & 3) + 1; }
76 76
77 inline unsigned int get_inner_bitcount (void) const 77 inline unsigned int get_inner_bitcount (void) const
78 { return (format & 0xF) + 1; } 78 { return (format & 0xF) + 1; }
79 79
80 protected: 80 protected:
81 USHORT format;» » /* A packed field that describes the compressed 81 USHORT» format;»» /* A packed field that describes the compressed
82 * representation of delta-set indices. */ 82 * representation of delta-set indices. */
83 USHORT mapCount;» » /* The number of mapping entries. */ 83 USHORT» mapCount;» /* The number of mapping entries. */
84 BYTE mapData[VAR];» » /* The delta-set index mapping data. */ 84 BYTE» » mapData[VAR];» /* The delta-set index mapping data. */
85 85
86 public: 86 public:
87 DEFINE_SIZE_ARRAY (4, mapData); 87 DEFINE_SIZE_ARRAY (4, mapData);
88 }; 88 };
89 89
90 90
91 /* 91 /*
92 * HVAR -- The Horizontal Metrics Variations Table 92 * HVAR -- The Horizontal Metrics Variations Table
93 * VVAR -- The Vertical Metrics Variations Table 93 * VVAR -- The Vertical Metrics Variations Table
94 */ 94 */
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 vorgMap; /* Offset to vertical-origin var-idx mapping. */ 156 vorgMap; /* Offset to vertical-origin var-idx mapping. */
157 157
158 public: 158 public:
159 DEFINE_SIZE_STATIC (24); 159 DEFINE_SIZE_STATIC (24);
160 }; 160 };
161 161
162 } /* namespace OT */ 162 } /* namespace OT */
163 163
164 164
165 #endif /* HB_OT_VAR_HVAR_TABLE_HH */ 165 #endif /* HB_OT_VAR_HVAR_TABLE_HH */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-ot-var.cc ('k') | third_party/harfbuzz-ng/src/hb-ot-var-mvar-table.hh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698