Mercurial > mplayer.hg
changeset 24557:32865ce92732
More precise line spacing.
author | eugeni |
---|---|
date | Tue, 18 Sep 2007 19:51:22 +0000 |
parents | 965062bfe084 |
children | 97eaba07ef9d |
files | libass/ass_render.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libass/ass_render.c Tue Sep 18 18:41:38 2007 +0000 +++ b/libass/ass_render.c Tue Sep 18 19:51:22 2007 +0000 @@ -1474,7 +1474,7 @@ int height = text_info.lines[cur_line - 1].desc + text_info.lines[cur_line].asc; cur_line ++; pen_shift_x = - cur->pos.x; - pen_shift_y += d6_to_int(height) + global_settings->line_spacing; + pen_shift_y += d6_to_int(height + double_to_d6(global_settings->line_spacing)); mp_msg(MSGT_ASS, MSGL_DBG2, "shifting from %d to %d by (%d, %d)\n", i, text_info.length - 1, pen_shift_x, pen_shift_y); } cur->pos.x += pen_shift_x;