[mugenizer] fix margins

This commit is contained in:
odrling 2019-08-06 19:35:34 +02:00
parent f5b9ba0f6a
commit 90e33f4bdb

View file

@ -85,6 +85,12 @@ function mugenizer(subs)
if line.class == "style" then
line.fontname = "Arial"
line.fontsize = "24"
line.outline = "1.5"
line.margin_l = "15"
line.margin_r = "15"
line.margin_t = "20"
line.margin_b = "20"
i_styles[styles] = i
if styles > 0 then
styles_different = styles_different or line.color1 ~= subs[i_styles[styles-1]].color1 or line.color2 ~= subs[i_styles[styles-1]].color2 or line.color3 ~= subs[i_styles[styles-1]].color3 or line.color4 ~= subs[i_styles[styles-1]].color4