diff options
Diffstat (limited to 'src/subrip_reader.cc')
| -rw-r--r-- | src/subrip_reader.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/subrip_reader.cc b/src/subrip_reader.cc index 2728d20..8bd2005 100644 --- a/src/subrip_reader.cc +++ b/src/subrip_reader.cc @@ -131,8 +131,8 @@ SubripReader::convert_line (string t, int line_number, TimePair from, TimePair t p.font_size.set_points (48); p.from = from; p.to = to; - p.vertical_position.proportional = 0.7 + line_number * 0.1; - p.vertical_position.reference = TOP; + p.vertical_position.line = line_number; + p.vertical_position.reference = TOP_OF_SUBTITLE; /* XXX: missing <font> support */ /* XXX: nesting of tags e.g. <b>foo<i>bar<b>baz</b>fred</i>jim</b> might |
