changeset 19404:bfc483d59e26

Angle value from style was ignored. Not anymore.
author eugeni
date Tue, 15 Aug 2006 20:41:53 +0000
parents 84a34f62918d
children 0797e1b4a4be
files libass/ass_render.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_render.c	Tue Aug 15 20:06:31 2006 +0000
+++ b/libass/ass_render.c	Tue Aug 15 20:41:53 2006 +0000
@@ -1014,7 +1014,7 @@
 	render_context.font_size = render_context.style->FontSize;
 	render_context.evt_type = EVENT_NORMAL;
 	render_context.alignment = 0;
-	render_context.rotation = 0.;
+	render_context.rotation = M_PI * render_context.style->Angle / 180.;
 	render_context.pos_x = 0;
 	render_context.pos_y = 0;
 	render_context.org_x = 0;