Nikolay Sivov : dwrite: Enable lookups from non-global features too.

Alexandre Julliard julliard at winehq.org
Tue Jun 2 16:34:10 CDT 2020


Module: wine
Branch: master
Commit: 4f7f3b7b8b007dd3e73b52b085109b223cbd5bc2
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=4f7f3b7b8b007dd3e73b52b085109b223cbd5bc2

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Jun  2 11:48:52 2020 +0300

dwrite: Enable lookups from non-global features too.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dwrite/opentype.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/dlls/dwrite/opentype.c b/dlls/dwrite/opentype.c
index 629bc7f407..64fba56202 100644
--- a/dlls/dwrite/opentype.c
+++ b/dlls/dwrite/opentype.c
@@ -4369,10 +4369,6 @@ static void opentype_layout_add_lookups(const struct ot_feature_list *feature_li
     if (feature->index == 0xffff)
         return;
 
-    /* FIXME: skip non-global ones for now. */
-    if (!(feature->flags & FEATURE_GLOBAL))
-        return;
-
     feature_offset = GET_BE_WORD(feature_list->features[feature->index].offset);
 
     lookup_count = table_read_be_word(&table->table, table->feature_list + feature_offset +




More information about the wine-cvs mailing list