Nikolay Sivov : dwrite: Set joiners mode for gsub case.

Alexandre Julliard julliard at winehq.org
Mon Jan 18 17:00:37 CST 2021


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Jan 18 15:05:41 2021 +0300

dwrite: Set joiners mode for gsub case.

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

---

 dlls/dwrite/opentype.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/dwrite/opentype.c b/dlls/dwrite/opentype.c
index 5698a83f3bf..ff341f03232 100644
--- a/dlls/dwrite/opentype.c
+++ b/dlls/dwrite/opentype.c
@@ -5794,6 +5794,8 @@ void opentype_layout_apply_gsub_features(struct scriptshaping_context *context,
         const struct lookup *lookup = &lookups.lookups[i];
 
         context->lookup_mask = lookup->mask;
+        context->auto_zwnj = lookup->auto_zwnj;
+        context->auto_zwj = lookup->auto_zwj;
 
         if (!opentype_is_gsub_lookup_reversed(context, lookup))
         {




More information about the wine-cvs mailing list