Mercurial > mplayer.hg
changeset 19592:9e580236e5c7
Change default font family and color for plain text subs.
author | eugeni |
---|---|
date | Tue, 29 Aug 2006 21:14:57 +0000 |
parents | f2a78abda66f |
children | d7a977286628 |
files | libass/ass_mp.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libass/ass_mp.c Tue Aug 29 21:09:58 2006 +0000 +++ b/libass/ass_mp.c Tue Aug 29 21:14:57 2006 +0000 @@ -48,7 +48,7 @@ sid = ass_alloc_style(track); style = track->styles + sid; style->Name = strdup("Default"); - style->FontName = (font_fontconfig && font_name) ? strdup(font_name) : strdup("Tahoma"); + style->FontName = (font_fontconfig && font_name) ? strdup(font_name) : strdup("Sans"); fs = track->PlayResY * text_font_scale_factor / 100. / ass_internal_font_size_coeff; // approximate autoscale coefficients @@ -58,9 +58,9 @@ fs *= 1.4; style->FontSize = fs; - style->PrimaryColour = 0xC0E9FE00; - style->SecondaryColour = 0x1B429E00; - style->OutlineColour = 0x1B429E00; + style->PrimaryColour = 0xFFFF0000; + style->SecondaryColour = 0xFFFF0000; + style->OutlineColour = 0x00000000; style->BackColour = 0x00000000; style->BorderStyle = 1; style->Alignment = 2;