commit | 21646cc4a6160088933774e179df9be4865a9f4b | [log] [tgz] |
---|---|---|
author | David Corbett <corbett.dav@husky.neu.edu> | Fri Feb 16 12:08:55 2018 -0500 |
committer | Behdad Esfahbod <behdad@behdad.org> | Sat Feb 17 13:35:34 2018 -0800 |
tree | 059a2f1cbccb4f3dd40984c5d293746484eff805 | |
parent | 04dedec96b76600eecdb739b72814a4a56b270ae [diff] [blame] |
Do not mark the first glyph as unsafe to break Fixes #791.
diff --git a/src/hb-buffer-private.hh b/src/hb-buffer-private.hh index a72376d..af4767f 100644 --- a/src/hb-buffer-private.hh +++ b/src/hb-buffer-private.hh
@@ -344,8 +344,7 @@ inline void unsafe_to_break_all (void) { - for (unsigned int i = 0; i < len; i++) - info[i].mask |= HB_GLYPH_FLAG_UNSAFE_TO_BREAK; + unsafe_to_break_impl (0, len); } inline void safe_to_break_all (void)