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.h | |
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.h')
-rw-r--r-- | libass/ass_bitmap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libass/ass_bitmap.h b/libass/ass_bitmap.h index 338db011..7a611188 100644 --- a/libass/ass_bitmap.h +++ b/libass/ass_bitmap.h @@ -53,5 +53,6 @@ int glyph_to_bitmap(ASS_Library *library, ASS_SynthPriv *priv_blur, int border_style); void ass_free_bitmap(Bitmap *bm); +int check_glyph_area(ASS_Library *library, FT_Glyph glyph); #endif /* LIBASS_BITMAP_H */ |