[MPlayer-cvslog] r22280 - trunk/libass/ass_render.c
eugeni
subversion at mplayerhq.hu
Mon Feb 19 20:01:45 CET 2007
Author: eugeni
Date: Mon Feb 19 20:01:45 2007
New Revision: 22280
Modified:
trunk/libass/ass_render.c
Log:
Add \t(\b) support.
Contradicts the specification, but supported by all other renderers.
Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c (original)
+++ trunk/libass/ass_render.c Mon Feb 19 20:01:45 2007
@@ -979,9 +979,10 @@
render_context.be = 0;
} else if (mystrcmp(&p, "b")) {
int b;
- if (mystrtoi(&p, 10, &b))
- render_context.bold = b;
- else
+ if (mystrtoi(&p, 10, &b)) {
+ if (pwr >= 1.)
+ render_context.bold = b;
+ } else
render_context.bold = - render_context.style->Bold;
update_font();
} else if (mystrcmp(&p, "i")) {
More information about the MPlayer-cvslog
mailing list