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

Side by Side Diff: third_party/harfbuzz-ng/src/hb-ot-shape-normalize-private.hh

Issue 10915172: harfbuzz-ng roll (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright © 2012 Google, Inc. 2 * Copyright © 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 14 matching lines...) Expand all
25 */ 25 */
26 26
27 #ifndef HB_OT_SHAPE_NORMALIZE_PRIVATE_HH 27 #ifndef HB_OT_SHAPE_NORMALIZE_PRIVATE_HH
28 #define HB_OT_SHAPE_NORMALIZE_PRIVATE_HH 28 #define HB_OT_SHAPE_NORMALIZE_PRIVATE_HH
29 29
30 #include "hb-private.hh" 30 #include "hb-private.hh"
31 31
32 #include "hb-font.h" 32 #include "hb-font.h"
33 #include "hb-buffer.h" 33 #include "hb-buffer.h"
34 34
35 /* buffer var allocations, used during the normalization process */
36 #define glyph_index() var1.u32
35 37
36 enum hb_ot_shape_normalization_mode_t { 38 enum hb_ot_shape_normalization_mode_t {
37 HB_OT_SHAPE_NORMALIZATION_MODE_DECOMPOSED, 39 HB_OT_SHAPE_NORMALIZATION_MODE_DECOMPOSED,
38 HB_OT_SHAPE_NORMALIZATION_MODE_COMPOSED_DIACRITICS, /* never composes base-to- base */ 40 HB_OT_SHAPE_NORMALIZATION_MODE_COMPOSED_DIACRITICS, /* never composes base-to- base */
39 HB_OT_SHAPE_NORMALIZATION_MODE_COMPOSED_FULL /* including base-to-base composi tion */ 41 HB_OT_SHAPE_NORMALIZATION_MODE_COMPOSED_DIACRITICS_NO_SHORT_CIRCUIT, /* always fully decomposes and then recompose back */
42 HB_OT_SHAPE_NORMALIZATION_MODE_COMPOSED_FULL, /* including base-to-base compos ition */
43
44 HB_OT_SHAPE_NORMALIZATION_MODE_DEFAULT = HB_OT_SHAPE_NORMALIZATION_MODE_COMPOS ED_DIACRITICS
40 }; 45 };
41 46
42 HB_INTERNAL void _hb_ot_shape_normalize (hb_font_t *font, 47 HB_INTERNAL void _hb_ot_shape_normalize (hb_font_t *font,
43 hb_buffer_t *buffer, 48 hb_buffer_t *buffer,
44 hb_ot_shape_normalization_mode_t mode); 49 hb_ot_shape_normalization_mode_t mode);
45 50
46 #endif /* HB_OT_SHAPE_NORMALIZE_PRIVATE_HH */ 51 #endif /* HB_OT_SHAPE_NORMALIZE_PRIVATE_HH */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc ('k') | third_party/harfbuzz-ng/src/hb-ot-shape-private.hh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698