summaryrefslogtreecommitdiffstats
path: root/libass/ass_drawing.h
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@blackbox>2010-07-29 02:38:29 +0200
committerGrigori Goronzy <greg@blackbox>2010-07-29 02:38:29 +0200
commit7152891c65fc50a809a20632160901bea41f13da (patch)
treecbe0856358b18c8ef102d33c8485bb0b61869abe /libass/ass_drawing.h
parent87c7e53c357375fe19dada6e2e3cc87464ae8ec5 (diff)
downloadlibass-7152891c65fc50a809a20632160901bea41f13da.tar.bz2
libass-7152891c65fc50a809a20632160901bea41f13da.tar.xz
Fix drawing cbox calculation
Use extremes of all points fed to the parser, instead of only points that are added to the outline. Fixes a rendering problem reported on IRC and should fix Issue #7.
Diffstat (limited to 'libass/ass_drawing.h')
-rw-r--r--libass/ass_drawing.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libass/ass_drawing.h b/libass/ass_drawing.h
index 913588e..0223271 100644
--- a/libass/ass_drawing.h
+++ b/libass/ass_drawing.h
@@ -65,6 +65,7 @@ typedef struct {
int max_contours;
double point_scale_x;
double point_scale_y;
+ FT_BBox cbox; // bounding box, or let's say... VSFilter's idea of it
} ASS_Drawing;
ASS_Drawing *ass_drawing_new(void *fontconfig_priv, ASS_Font *font,