Mercurial > mplayer.hg
comparison libass/ass_fontconfig.c @ 26660:ab5729095d68
Define FC_FULLNAME and FC_EMBOLDEN to fix compilation with ancient fontconfig.
author | eugeni |
---|---|
date | Thu, 08 May 2008 13:54:00 +0000 |
parents | 9e1d66c990fa |
children | 38d1fdb388f9 |
comparison
equal
deleted
inserted
replaced
26659:9e1d66c990fa | 26660:ab5729095d68 |
---|---|
48 char* path_default; | 48 char* path_default; |
49 int index_default; | 49 int index_default; |
50 }; | 50 }; |
51 | 51 |
52 #ifdef HAVE_FONTCONFIG | 52 #ifdef HAVE_FONTCONFIG |
53 | |
54 // 4yo fontconfig does not have these. | |
55 // They are only needed for debug output, anyway. | |
56 #ifndef FC_FULLNAME | |
57 #define FC_FULLNAME "fullname" | |
58 #endif | |
59 #ifndef FC_EMBOLDEN | |
60 #define FC_EMBOLDEN "embolden" | |
61 #endif | |
62 | |
53 /** | 63 /** |
54 * \brief Low-level font selection. | 64 * \brief Low-level font selection. |
55 * \param priv private data | 65 * \param priv private data |
56 * \param family font family | 66 * \param family font family |
57 * \param bold font weight value | 67 * \param bold font weight value |