[HarfBuzz] harfbuzz-ng: Branch 'master'
Behdad Esfahbod
behdad at kemper.freedesktop.org
Thu May 20 05:40:36 PDT 2010
src/hb-ot-shape.cc | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit 7f411dbfd9f8d5360c948531ff9f6c3998d1d897
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Thu May 20 13:40:18 2010 +0100
Apply user features
No ranges yet
diff --git a/src/hb-ot-shape.cc b/src/hb-ot-shape.cc
index 61f67cd..801d0a3 100644
--- a/src/hb-ot-shape.cc
+++ b/src/hb-ot-shape.cc
@@ -100,6 +100,14 @@ setup_lookups (hb_face_t *face,
add_feature (face, table_tag, feature_index, lookups, num_lookups, room_lookups);
}
+ for (i = 0; i < num_features; i++)
+ {
+ if (hb_ot_layout_language_find_feature (face, table_tag, script_index, language_index,
+ features[i].tag,
+ &feature_index))
+ add_feature (face, table_tag, feature_index, lookups, num_lookups, room_lookups);
+ }
+
qsort (lookups, *num_lookups, sizeof (lookups[0]), cmp_lookups);
if (*num_lookups)
More information about the HarfBuzz
mailing list