Nikolay Sivov : dwrite: Remove explicit lookup type check in GetVerticalGlyphVariants().

Alexandre Julliard julliard at winehq.org
Wed Dec 2 15:21:07 CST 2020


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Dec  2 14:44:02 2020 +0300

dwrite: Remove explicit lookup type check in GetVerticalGlyphVariants().

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 1cf47e5ac69..260a0a8f5db 100644
--- a/dlls/dwrite/opentype.c
+++ b/dlls/dwrite/opentype.c
@@ -6150,10 +6150,6 @@ HRESULT opentype_get_vertical_glyph_variants(struct dwrite_fontface *fontface, u
     {
         const struct lookup *lookup = &lookups.lookups[i];
 
-        /* FIXME: should probably handle extension subtables. */
-        if (lookup->type != GSUB_LOOKUP_SINGLE_SUBST)
-            continue;
-
         context.cur = 0;
         while (context.cur < context.glyph_count)
         {




More information about the wine-cvs mailing list