projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9111b21
)
Form clusters before ensuring native direciton
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 21 Jul 2011 05:11:09 +0000
(
01:11
-0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Thu, 21 Jul 2011 05:11:09 +0000
(
01:11
-0400)
This is essential as ensure_native_direction uses cluster info that
is set by form_clusters().
src/hb-ot-shape.cc
patch
|
blob
|
history
diff --git
a/src/hb-ot-shape.cc
b/src/hb-ot-shape.cc
index
33123d4
..
b9754ce
100644
(file)
--- a/
src/hb-ot-shape.cc
+++ b/
src/hb-ot-shape.cc
@@
-361,10
+361,10
@@
hb_ot_shape_execute_internal (hb_ot_shape_context_t *c)
hb_set_unicode_props (c); /* BUFFER: Set general_category and combining_class in var1 */
- hb_ensure_native_direction (c);
-
hb_form_clusters (c);
+ hb_ensure_native_direction (c);
+
_hb_normalize (c);
hb_ot_shape_setup_masks (c); /* BUFFER: Clobbers var2 */