summaryrefslogtreecommitdiff
path: root/src/hb-ot-shape-complex-use.cc
diff options
context:
space:
mode:
authorYoungbok Shin <youngb.shin@samsung.com>2018-06-26 11:15:52 +0900
committerYoungbok Shin <youngb.shin@samsung.com>2018-06-26 11:15:52 +0900
commitb9f425ddd6223cd82b3d35f13fbd060d3c0c0e38 (patch)
tree87220edcaa6118811d062d77d0562a3f74c7f885 /src/hb-ot-shape-complex-use.cc
parent1c272a48507bb3c7905aa30d8bf0d092b474f781 (diff)
downloadharfbuzz-b9f425ddd6223cd82b3d35f13fbd060d3c0c0e38.tar.gz
harfbuzz-b9f425ddd6223cd82b3d35f13fbd060d3c0c0e38.tar.bz2
harfbuzz-b9f425ddd6223cd82b3d35f13fbd060d3c0c0e38.zip
Imported Upstream version 1.8.1upstream/1.8.1
Diffstat (limited to 'src/hb-ot-shape-complex-use.cc')
-rw-r--r--src/hb-ot-shape-complex-use.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hb-ot-shape-complex-use.cc b/src/hb-ot-shape-complex-use.cc
index ee7653b..66b9571 100644
--- a/src/hb-ot-shape-complex-use.cc
+++ b/src/hb-ot-shape-complex-use.cc
@@ -35,7 +35,7 @@
/*
* Universal Shaping Engine.
- * https://www.microsoft.com/typography/OpenTypeDev/USE/intro.htm
+ * https://docs.microsoft.com/en-us/typography/script-development/use
*/
static const hb_tag_t
@@ -511,7 +511,7 @@ insert_dotted_circles (const hb_ot_shape_plan_t *plan HB_UNUSED,
buffer->idx = 0;
unsigned int last_syllable = 0;
- while (buffer->idx < buffer->len && !buffer->in_error)
+ while (buffer->idx < buffer->len && buffer->successful)
{
unsigned int syllable = buffer->cur().syllable();
syllable_type_t syllable_type = (syllable_type_t) (syllable & 0x0F);
@@ -526,7 +526,7 @@ insert_dotted_circles (const hb_ot_shape_plan_t *plan HB_UNUSED,
/* TODO Set glyph_props? */
/* Insert dottedcircle after possible Repha. */
- while (buffer->idx < buffer->len && !buffer->in_error &&
+ while (buffer->idx < buffer->len && buffer->successful &&
last_syllable == buffer->cur().syllable() &&
buffer->cur().use_category() == USE_R)
buffer->next_glyph ();