From 832d57bf22426982bce1ffbf69121afb887b1cb6 Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Sat, 13 Jun 2015 16:25:41 +0200 Subject: fontselect: fix oblique/italic mixup The constants were swapped. In some cases this lead to incorrect matching. --- libass/ass_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libass') diff --git a/libass/ass_parse.c b/libass/ass_parse.c index 9aebf3b..61ba691 100644 --- a/libass/ass_parse.c +++ b/libass/ass_parse.c @@ -121,7 +121,7 @@ void update_font(ASS_Renderer *render_priv) val = render_priv->state.italic; if (val == 1) - val = 110; // italic + val = 100; // italic else if (val <= 0) val = 0; // normal desc.italic = val; -- cgit v1.2.3