mirror of
https://github.com/mpv-player/mpv
synced 2024-12-29 10:32:15 +00:00
Fix text height calculation. It depends on line spacing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24576 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
23f5d9b6ba
commit
658f1e215e
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user