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:
b262ebc
)
[unsafe-to-break] Mark during fraction-slash formation
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 31 Aug 2017 00:28:22 +0000
(17:28 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Thu, 31 Aug 2017 00:28:22 +0000
(17:28 -0700)
Fixes tests/automatic-fractions.tests
src/hb-ot-shape.cc
patch
|
blob
|
history
diff --git
a/src/hb-ot-shape.cc
b/src/hb-ot-shape.cc
index
bc53669
..
54c33a3
100644
(file)
--- a/
src/hb-ot-shape.cc
+++ b/
src/hb-ot-shape.cc
@@
-394,6
+394,8
@@
hb_ot_shape_setup_masks_fraction (hb_ot_shape_context_t *c)
HB_UNICODE_GENERAL_CATEGORY_DECIMAL_NUMBER)
end++;
+ buffer->unsafe_to_break (start, end);
+
for (unsigned int j = start; j < i; j++)
info[j].mask |= pre_mask;
info[i].mask |= c->plan->frac_mask;