Mercurial > mplayer.hg
diff libass/ass.c @ 22263:1bf17db53cc3
Both (-1) and 1 mean bold font in SSA/ASS styles.
The same for italics and some other fields.
author | eugeni |
---|---|
date | Mon, 19 Feb 2007 20:10:55 +0000 |
parents | cb409839a110 |
children | dc12bca7d4b5 |
line wrap: on
line diff
--- a/libass/ass.c Mon Feb 19 19:01:45 2007 +0000 +++ b/libass/ass.c Mon Feb 19 20:10:55 2007 +0000 @@ -458,6 +458,9 @@ } style->ScaleX /= 100.; style->ScaleY /= 100.; + style->Bold = !!style->Bold; + style->Italic = !!style->Italic; + style->Underline = !!style->Underline; if (!style->Name) style->Name = strdup("Default"); if (!style->FontName)