Gijs Vermeulen : dwrite: Set ret on unimplemented lookup in opentype_layout_apply_gsub_lookup.

Alexandre Julliard julliard at winehq.org
Mon May 11 16:08:36 CDT 2020


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

Author: Gijs Vermeulen <gijsvrm at gmail.com>
Date:   Mon May 11 15:43:59 2020 +0200

dwrite: Set ret on unimplemented lookup in opentype_layout_apply_gsub_lookup.

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

---

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

diff --git a/dlls/dwrite/opentype.c b/dlls/dwrite/opentype.c
index 0feb2feadc..f22cd7469b 100644
--- a/dlls/dwrite/opentype.c
+++ b/dlls/dwrite/opentype.c
@@ -4478,6 +4478,7 @@ static void opentype_layout_apply_gsub_lookup(struct scriptshaping_context *cont
             case GSUB_LOOKUP_LIGATURE_SUBST:
             case GSUB_LOOKUP_CONTEXTUAL_SUBST:
             case GSUB_LOOKUP_REVERSE_CHAINING_CONTEXTUAL_SUBST:
+                ret = FALSE;
                 WARN("Unimplemented lookup %d.\n", lookup_type);
                 break;
             default:




More information about the wine-cvs mailing list