diff options
author | Grigori Goronzy <greg@blackbox> | 2010-08-01 22:23:25 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@blackbox> | 2010-08-01 23:09:33 +0200 |
commit | 7415cacb871fce6e81e847efa78d110aa2fae4fb (patch) | |
tree | be683abd3fbb9dcc0c0ab282554ddfa2a553925e /libass/ass_bitmap.c | |
parent | e3848fe12a7699434dd941245d9af646d49986b9 (diff) | |
download | libass-7415cacb871fce6e81e847efa78d110aa2fae4fb.tar.bz2 libass-7415cacb871fce6e81e847efa78d110aa2fae4fb.tar.xz |
Check vector clip mask bounding box size
Similar to regular glyphs, check the bounding box of the clip mask and
refrain from rendering humongous masks, which can take up considerably
memory.
Diffstat (limited to 'libass/ass_bitmap.c')
-rw-r--r-- | libass/ass_bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_bitmap.c b/libass/ass_bitmap.c index 93f2aa8..9211a7c 100644 --- a/libass/ass_bitmap.c +++ b/libass/ass_bitmap.c @@ -165,7 +165,7 @@ static Bitmap *copy_bitmap(const Bitmap *src) return dst; } -static int check_glyph_area(ASS_Library *library, FT_Glyph glyph) +int check_glyph_area(ASS_Library *library, FT_Glyph glyph) { FT_BBox bbox; long long dx, dy; |