diff --git a/libass/ass_render.c b/libass/ass_render.c index 6b8cb5ad0f..63309076cc 100644 --- a/libass/ass_render.c +++ b/libass/ass_render.c @@ -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); } /**