changeset 22396:4f518adf16e9

Bugfix: transform origin to screen coordinates.
author eugeni
date Fri, 02 Mar 2007 17:54:47 +0000
parents 797bb7683eb0
children b2e4557a3160
files libass/ass_render.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_render.c	Fri Mar 02 17:49:34 2007 +0000
+++ b/libass/ass_render.c	Fri Mar 02 17:54:47 2007 +0000
@@ -1898,8 +1898,8 @@
 		FT_Vector center;
 		
 		if (render_context.have_origin) {
-			center.x = render_context.org_x;
-			center.y = render_context.org_y;
+			center.x = x2scr(render_context.org_x);
+			center.y = x2scr(render_context.org_y);
 		} else {
 			int bx, by;
 			get_base_point(bbox, alignment, &bx, &by);