summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2009-12-21 08:54:33 +0100
committerLars Knoll <lars.knoll@nokia.com>2009-12-21 14:34:20 +0100
commit2b78f0d78ad3075fd1657d1260b31219e1a51557 (patch)
tree57ae8d7b7a2b9c56e3704080ef17a6eb86067afa
parent128fd2bce64eab2ba39be0f89f1b65cdf5cf41ee (diff)
The patch causes crashes using hebrew, and I can't see what the change is supposed to fix. See also http://bugreports.qt.nokia.com/browse/QTBUG-6436
-rw-r--r--src/harfbuzz-hebrew.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/harfbuzz-hebrew.c b/src/harfbuzz-hebrew.c
index 2bda386..67029be 100644
--- a/src/harfbuzz-hebrew.c
+++ b/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)) {
@@ -65,7 +63,7 @@ HB_Bool HB_HebrewShape(HB_ShaperItem *shaper_item)
if (!HB_ConvertStringToGlyphIndices(shaper_item))
return FALSE;
-
+ HB_HeuristicSetGlyphAttributes(shaper_item);
HB_OpenTypeShape(shaper_item, /*properties*/0);
return HB_OpenTypePosition(shaper_item, availableGlyphs, /*doLogClusters*/TRUE);
}