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

Side by Side Diff: third_party/harfbuzz-ng/src/hb-buffer-private.hh

Issue 1723043002: Roll HarfBuzz to 1.2.1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Include upstream ebd7431f824 Created 4 years, 9 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
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-buffer.cc ('k') | third_party/harfbuzz-ng/src/hb-common.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright © 1998-2004 David Turner and Werner Lemberg 2 * Copyright © 1998-2004 David Turner and Werner Lemberg
3 * Copyright © 2004,2007,2009,2010 Red Hat, Inc. 3 * Copyright © 2004,2007,2009,2010 Red Hat, Inc.
4 * Copyright © 2011,2012 Google, Inc. 4 * Copyright © 2011,2012 Google, Inc.
5 * 5 *
6 * This is part of HarfBuzz, a text shaping library. 6 * This is part of HarfBuzz, a text shaping library.
7 * 7 *
8 * Permission is hereby granted, without written agreement and without 8 * Permission is hereby granted, without written agreement and without
9 * license or royalty fees, to use, copy, modify, and distribute this 9 * license or royalty fees, to use, copy, modify, and distribute this
10 * software and its documentation for any purpose, provided that the 10 * software and its documentation for any purpose, provided that the
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 ASSERT_STATIC (sizeof (hb_glyph_info_t) == sizeof (hb_glyph_position_t)); 49 ASSERT_STATIC (sizeof (hb_glyph_info_t) == sizeof (hb_glyph_position_t));
50 50
51 HB_MARK_AS_FLAG_T (hb_buffer_flags_t); 51 HB_MARK_AS_FLAG_T (hb_buffer_flags_t);
52 HB_MARK_AS_FLAG_T (hb_buffer_serialize_flags_t); 52 HB_MARK_AS_FLAG_T (hb_buffer_serialize_flags_t);
53 53
54 enum hb_buffer_scratch_flags_t { 54 enum hb_buffer_scratch_flags_t {
55 HB_BUFFER_SCRATCH_FLAG_DEFAULT = 0x00000000u, 55 HB_BUFFER_SCRATCH_FLAG_DEFAULT = 0x00000000u,
56 HB_BUFFER_SCRATCH_FLAG_HAS_NON_ASCII = 0x00000001u, 56 HB_BUFFER_SCRATCH_FLAG_HAS_NON_ASCII = 0x00000001u,
57 HB_BUFFER_SCRATCH_FLAG_HAS_DEFAULT_IGNORABLES = 0x00000002u, 57 HB_BUFFER_SCRATCH_FLAG_HAS_DEFAULT_IGNORABLES = 0x00000002u,
58 HB_BUFFER_SCRATCH_FLAG_HAS_SPACE_FALLBACK = 0x00000004u, 58 HB_BUFFER_SCRATCH_FLAG_HAS_SPACE_FALLBACK = 0x00000004u,
59 HB_BUFFER_SCRATCH_FLAG_HAS_GPOS_CURSIVE» » = 0x00000008u, 59 HB_BUFFER_SCRATCH_FLAG_HAS_GPOS_ATTACHMENT» » = 0x00000008u,
60 HB_BUFFER_SCRATCH_FLAG_HAS_GPOS_ATTACHMENT» » = 0x00000010u,
61 /* Reserved for complex shapers' internal use. */ 60 /* Reserved for complex shapers' internal use. */
62 HB_BUFFER_SCRATCH_FLAG_COMPLEX0 = 0x01000000u, 61 HB_BUFFER_SCRATCH_FLAG_COMPLEX0 = 0x01000000u,
63 HB_BUFFER_SCRATCH_FLAG_COMPLEX1 = 0x02000000u, 62 HB_BUFFER_SCRATCH_FLAG_COMPLEX1 = 0x02000000u,
64 HB_BUFFER_SCRATCH_FLAG_COMPLEX2 = 0x04000000u, 63 HB_BUFFER_SCRATCH_FLAG_COMPLEX2 = 0x04000000u,
65 HB_BUFFER_SCRATCH_FLAG_COMPLEX3 = 0x08000000u, 64 HB_BUFFER_SCRATCH_FLAG_COMPLEX3 = 0x08000000u,
66 }; 65 };
67 HB_MARK_AS_FLAG_T (hb_buffer_scratch_flags_t); 66 HB_MARK_AS_FLAG_T (hb_buffer_scratch_flags_t);
68 67
69 68
70 /* 69 /*
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 sizeof (b->info[0].var), owner) 258 sizeof (b->info[0].var), owner)
260 #define HB_BUFFER_ALLOCATE_VAR(b, var) \ 259 #define HB_BUFFER_ALLOCATE_VAR(b, var) \
261 HB_BUFFER_XALLOCATE_VAR (b, allocate_var, var (), #var) 260 HB_BUFFER_XALLOCATE_VAR (b, allocate_var, var (), #var)
262 #define HB_BUFFER_DEALLOCATE_VAR(b, var) \ 261 #define HB_BUFFER_DEALLOCATE_VAR(b, var) \
263 HB_BUFFER_XALLOCATE_VAR (b, deallocate_var, var (), #var) 262 HB_BUFFER_XALLOCATE_VAR (b, deallocate_var, var (), #var)
264 #define HB_BUFFER_ASSERT_VAR(b, var) \ 263 #define HB_BUFFER_ASSERT_VAR(b, var) \
265 HB_BUFFER_XALLOCATE_VAR (b, assert_var, var (), #var) 264 HB_BUFFER_XALLOCATE_VAR (b, assert_var, var (), #var)
266 265
267 266
268 #endif /* HB_BUFFER_PRIVATE_HH */ 267 #endif /* HB_BUFFER_PRIVATE_HH */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-buffer.cc ('k') | third_party/harfbuzz-ng/src/hb-common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698