[Mplayer-cvslog] CVS: main cfg-common.h,1.121,1.122

Alex Beregszaszi alex at mplayerhq.hu
Mon Dec 8 14:12:15 CET 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv31263

Modified Files:
	cfg-common.h 
Log Message:
Fontconfig support based on patch by Arwed von Merkatz <v.merkatz at gmx.net>, but slightly reworked

Index: cfg-common.h
===================================================================
RCS file: /cvsroot/mplayer/main/cfg-common.h,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -r1.121 -r1.122
--- cfg-common.h	8 Dec 2003 09:32:39 -0000	1.121
+++ cfg-common.h	8 Dec 2003 13:11:52 -0000	1.122
@@ -257,6 +257,13 @@
  	{"subfont-outline", &subtitle_font_thickness, CONF_TYPE_FLOAT, CONF_RANGE, 0, 8, NULL},
  	{"subfont-autoscale", &subtitle_autoscale, CONF_TYPE_INT, CONF_RANGE, 0, 3, NULL},
 #endif
+#ifdef HAVE_FONTCONFIG
+	{"fontconfig", &font_fontconfig, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+	{"nofontconfig", &font_fontconfig, CONF_TYPE_FLAG, 0, 1, 0, NULL},
+#else
+	{"fontconfig", "MPlayer wasn't compiled with Fontconfig support\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
+	{"nofontconfig", "MPlayer wasn't compiled with Fontconfig support\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
+#endif
 #endif
 
 #else



More information about the MPlayer-cvslog mailing list