diff options
author | Grigori Goronzy <greg@blackbox> | 2009-07-19 16:13:39 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@blackbox> | 2009-07-19 16:13:39 +0200 |
commit | 5f0aa788e9342db7c9ec0d4cd08f5bf19d85bbaa (patch) | |
tree | d7222dbe00bd9097f3a666f0c3532c8fedce5569 /libass | |
parent | 9ad13b1e609a5973a9f9288978b720d82a1382f7 (diff) | |
download | libass-5f0aa788e9342db7c9ec0d4cd08f5bf19d85bbaa.tar.bz2 libass-5f0aa788e9342db7c9ec0d4cd08f5bf19d85bbaa.tar.xz |
Fix borders when a x/y component is zero
Diffstat (limited to 'libass')
-rw-r--r-- | libass/ass_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c index b045a75..f86c73e 100644 --- a/libass/ass_render.c +++ b/libass/ass_render.c @@ -2071,7 +2071,7 @@ static void fix_freetype_stroker(FT_OutlineGlyph glyph, int border_x, static void stroke_outline_glyph(ass_renderer_t *render_priv, FT_OutlineGlyph *glyph, int sx, int sy) { - if (sx <= 0 || sy <= 0) + if (sx <= 0 && sy <= 0) return; fix_freetype_stroker(*glyph, sx, sy); |