fix: font_bold options being ignored

closes #209
This commit is contained in:
tomasklaen
2022-09-18 13:05:29 +02:00
parent fc4caee11e
commit 3793fa574a

View File

@@ -974,7 +974,7 @@ function ass_mt:txt(x, y, align, value, opts)
-- font size
tags = tags .. '\\fs' .. opts.size
-- bold
if opts.bold then tags = tags .. '\\b1' end
if opts.bold or options.font_bold then tags = tags .. '\\b1' end
-- italic
if opts.italic then tags = tags .. '\\i1' end
-- wrap