[MPlayer-cvslog] r19598 - trunk/libass/ass_mp.c

eugeni subversion at mplayerhq.hu
Tue Aug 29 23:14:57 CEST 2006


Author: eugeni
Date: Tue Aug 29 23:14:57 2006
New Revision: 19598

Modified:
   trunk/libass/ass_mp.c

Log:
Change default font family and color for plain text subs.


Modified: trunk/libass/ass_mp.c
==============================================================================
--- trunk/libass/ass_mp.c	(original)
+++ trunk/libass/ass_mp.c	Tue Aug 29 23:14:57 2006
@@ -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;



More information about the MPlayer-cvslog mailing list