summaryrefslogtreecommitdiffstats
path: root/libass/ass_render.c
diff options
context:
space:
mode:
Diffstat (limited to 'libass/ass_render.c')
-rw-r--r--libass/ass_render.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c
index 8ca6911..2f3405e 100644
--- a/libass/ass_render.c
+++ b/libass/ass_render.c
@@ -1302,6 +1302,11 @@ get_bitmap_glyph(ASS_Renderer *render_priv, GlyphInfo *info)
FT_Done_Glyph(outline);
}
}
+
+ // VSFilter compatibility: invisible fill and no border?
+ // In this case no shadow is supposed to be rendered.
+ if (!info->outline_glyph && (info->c[0] >> 24) == 0xFF)
+ info->bm_s = 0;
}
/**