changeset 19610:82861f300a24

Bugfix: wrong height value used in font size calculation.
author eugeni
date Thu, 31 Aug 2006 20:19:19 +0000
parents b9babb64ca2a
children 27c747718955
files libass/ass_render.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_render.c	Thu Aug 31 19:06:01 2006 +0000
+++ b/libass/ass_render.c	Thu Aug 31 20:19:19 2006 +0000
@@ -505,7 +505,7 @@
 static void change_font_size(int sz)
 {
 	double size = (double)sz * global_settings->font_size_coeff * ass_internal_font_size_coeff;
-	size *= frame_context.height;
+	size *= frame_context.orig_height;
 	size /= frame_context.track->PlayResY;
 
 	if (size < 1)