commit | e3e4bb011ae1a2f1ba05e7ea450595b185304bec | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Wed Nov 04 18:58:02 2015 -0800 |
committer | Behdad Esfahbod <behdad@behdad.org> | Wed Nov 04 18:58:02 2015 -0800 |
tree | fc2f25581d4b113dc4349d0812bba9c526f02084 | |
parent | 6986208ba3b395534f4c7bcfa51df6bf9038f717 [diff] [blame] |
Don't do fractions if buffer is ASCII-only
diff --git a/src/hb-ot-layout-private.hh b/src/hb-ot-layout-private.hh index 60fca26..049b232 100644 --- a/src/hb-ot-layout-private.hh +++ b/src/hb-ot-layout-private.hh
@@ -249,6 +249,7 @@ if (u >= 0x80) { + buffer->scratch_flags |= HB_BUFFER_SCRATCH_FLAG_HAS_NON_ASCII; if (unlikely (unicode->is_default_ignorable (u))) { buffer->scratch_flags |= HB_BUFFER_SCRATCH_FLAG_HAS_DEFAULT_IGNORABLES;