| Index: third_party/harfbuzz/src/harfbuzz-buffer.h
|
| diff --git a/third_party/harfbuzz/src/harfbuzz-buffer.h b/third_party/harfbuzz/src/harfbuzz-buffer.h
|
| index b1344072dac6d4648e14d0137ea9ca16a4fe7d64..0d7c2c2c7c37a28de45b55f3a3fc295d47a285cc 100644
|
| --- a/third_party/harfbuzz/src/harfbuzz-buffer.h
|
| +++ b/third_party/harfbuzz/src/harfbuzz-buffer.h
|
| @@ -32,6 +32,10 @@
|
|
|
| HB_BEGIN_HEADER
|
|
|
| +#ifdef HB_USE_PACKED_STRUCTS
|
| +#pragma pack(push, 1)
|
| +#endif
|
| +
|
| typedef struct HB_GlyphItemRec_ {
|
| HB_UInt gindex;
|
| HB_UInt properties;
|
| @@ -48,13 +52,13 @@ typedef struct HB_PositionRec_ {
|
| HB_Fixed y_advance;
|
| HB_UShort back; /* number of glyphs to go back
|
| for drawing current glyph */
|
| + HB_Short cursive_chain; /* character to which this connects,
|
| + may be positive or negative; used
|
| + only internally */
|
| HB_Bool new_advance; /* if set, the advance width values are
|
| absolute, i.e., they won't be
|
| added to the original glyph's value
|
| but rather replace them. */
|
| - HB_Short cursive_chain; /* character to which this connects,
|
| - may be positive or negative; used
|
| - only internally */
|
| } HB_PositionRec, *HB_Position;
|
|
|
|
|
| @@ -66,12 +70,12 @@ typedef struct HB_BufferRec_{
|
| HB_UInt in_pos;
|
| HB_UInt out_pos;
|
|
|
| - HB_Bool separate_out;
|
| HB_GlyphItem in_string;
|
| HB_GlyphItem out_string;
|
| HB_GlyphItem alt_string;
|
| HB_Position positions;
|
| HB_UShort max_ligID;
|
| + HB_Bool separate_out;
|
| } HB_BufferRec, *HB_Buffer;
|
|
|
| HB_Error
|
| @@ -89,6 +93,10 @@ hb_buffer_add_glyph( HB_Buffer buffer,
|
| HB_UInt properties,
|
| HB_UInt cluster );
|
|
|
| +#ifdef HB_USE_PACKED_STRUCTS
|
| +#pragma pack(pop)
|
| +#endif
|
| +
|
| HB_END_HEADER
|
|
|
| #endif /* HARFBUZZ_BUFFER_H */
|
|
|