From 05fa2ef40c55932df89820a1af794e49407ade32 Mon Sep 17 00:00:00 2001 From: Star Brilliant Date: Tue, 17 Sep 2013 13:12:44 +0800 Subject: [PATCH] Adjust alignment --- convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert.py b/convert.py index 0319a9c..44c4fa0 100755 --- a/convert.py +++ b/convert.py @@ -62,7 +62,7 @@ def MarkCommentRow(rows, c, row): def WriteComment(f, c, row, width, height, bottomReserved, fontsize, lifetime): text = c[3].replace('\\', '\\\\').replace('\n', '\\N') if c[4] == 1: - styles = '{\\an7}{\\pos(%(halfwidth)s, %(row)s)}' % {'halfwidth': round(width/2), 'row': row} + styles = '{\\an8}{\\pos(%(halfwidth)s, %(row)s)}' % {'halfwidth': round(width/2), 'row': row} elif c[4] == 2: styles = '{\\an2}{\\pos(%(halfwidth)s, %(row)s)}' % {'halfwidth': round(width/2), 'row': ConvertType2(row, height, bottomReserved)} else: