[PATCH 2/6] dwrite: Remove explicit lookup type check in GetVerticalGlyphVariants().
Nikolay Sivov
nsivov at codeweavers.com
Wed Dec 2 05:44:02 CST 2020
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
This is handled when HAS_VERTICAL flag is set.
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)
{
--
2.29.2
More information about the wine-devel
mailing list