[MPlayer-cvslog] r26692 - trunk/libass/ass_fontconfig.c
eugeni
subversion at mplayerhq.hu
Thu May 8 15:54:00 CEST 2008
Author: eugeni
Date: Thu May 8 15:54:00 2008
New Revision: 26692
Log:
Define FC_FULLNAME and FC_EMBOLDEN to fix compilation with ancient fontconfig.
Modified:
trunk/libass/ass_fontconfig.c
Modified: trunk/libass/ass_fontconfig.c
==============================================================================
--- trunk/libass/ass_fontconfig.c (original)
+++ trunk/libass/ass_fontconfig.c Thu May 8 15:54:00 2008
@@ -50,6 +50,16 @@ struct fc_instance_s {
};
#ifdef HAVE_FONTCONFIG
+
+// 4yo fontconfig does not have these.
+// They are only needed for debug output, anyway.
+#ifndef FC_FULLNAME
+#define FC_FULLNAME "fullname"
+#endif
+#ifndef FC_EMBOLDEN
+#define FC_EMBOLDEN "embolden"
+#endif
+
/**
* \brief Low-level font selection.
* \param priv private data
More information about the MPlayer-cvslog
mailing list