[MPlayer-cvslog] r24576 - trunk/libass/ass_render.c
eugeni
subversion at mplayerhq.hu
Tue Sep 18 20:41:38 CEST 2007
Author: eugeni
Date: Tue Sep 18 20:41:38 2007
New Revision: 24576
Log:
Fix text height calculation. It depends on line spacing.
Modified:
trunk/libass/ass_render.c
Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c (original)
+++ trunk/libass/ass_render.c Tue Sep 18 20:41:38 2007
@@ -1343,6 +1343,7 @@ static void measure_text(void)
max_desc = cur->desc;
}
}
+ text_info.height += (text_info.n_lines - 1) * double_to_d6(global_settings->line_spacing);
}
/**
More information about the MPlayer-cvslog
mailing list