projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11fba79
)
[OTLayout] Handle required_feature_index in collect_lookups
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 3 Jan 2013 05:57:36 +0000
(23:57 -0600)
committer
Behdad Esfahbod
<behdad@behdad.org>
Thu, 3 Jan 2013 05:57:36 +0000
(23:57 -0600)
src/hb-ot-layout.cc
patch
|
blob
|
history
diff --git
a/src/hb-ot-layout.cc
b/src/hb-ot-layout.cc
index
e4bac0a
..
8edb135
100644
(file)
--- a/
src/hb-ot-layout.cc
+++ b/
src/hb-ot-layout.cc
@@
-433,6
+433,14
@@
_hb_ot_layout_collect_lookups_features (hb_face_t *face,
const hb_tag_t *features,
hb_set_t *lookup_indexes /* OUT */)
{
+ unsigned int required_feature_index;
+ if (hb_ot_layout_language_get_required_feature_index (face,
+ table_tag,
+ script_index,
+ language_index,
+ &required_feature_index))
+ _hb_ot_layout_collect_lookups_lookups (face, table_tag, required_feature_index, lookup_indexes);
+
if (!features)
{
/* All features */