summaryrefslogtreecommitdiffstats
path: root/third_party/harfbuzz/src/harfbuzz-hebrew.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/harfbuzz/src/harfbuzz-hebrew.c')
-rw-r--r--third_party/harfbuzz/src/harfbuzz-hebrew.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/third_party/harfbuzz/src/harfbuzz-hebrew.c b/third_party/harfbuzz/src/harfbuzz-hebrew.c
index 2bda386..533a063 100644
--- a/third_party/harfbuzz/src/harfbuzz-hebrew.c
+++ b/third_party/harfbuzz/src/harfbuzz-hebrew.c
@@ -56,8 +56,6 @@ HB_Bool HB_HebrewShape(HB_ShaperItem *shaper_item)
assert(shaper_item->item.script == HB_Script_Hebrew);
- HB_HeuristicSetGlyphAttributes(shaper_item);
-
#ifndef NO_OPENTYPE
if (HB_SelectScript(shaper_item, hebrew_features)) {
@@ -66,6 +64,7 @@ HB_Bool HB_HebrewShape(HB_ShaperItem *shaper_item)
return FALSE;
+ HB_HeuristicSetGlyphAttributes(shaper_item);
HB_OpenTypeShape(shaper_item, /*properties*/0);
return HB_OpenTypePosition(shaper_item, availableGlyphs, /*doLogClusters*/TRUE);
}