projects
/
apps
/
home
/
video-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0db299c
)
Apply user features
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 20 May 2010 12:40:18 +0000
(13:40 +0100)
committer
Behdad Esfahbod
<behdad@behdad.org>
Thu, 20 May 2010 12:40:18 +0000
(13:40 +0100)
No ranges yet
src/hb-ot-shape.cc
patch
|
blob
|
history
diff --git
a/src/hb-ot-shape.cc
b/src/hb-ot-shape.cc
index
61f67cd
..
801d0a3
100644
(file)
--- 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)