diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-12-08 13:11:52 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-12-08 13:11:52 +0000 |
commit | 0f7a779f7e2d3f2ce73aec91102e6a192b052176 (patch) | |
tree | b862915d63d479b0e6c35925e4ec216e2ae21b6d /cfg-common.h | |
parent | 27c454b1395cb7578f4a0cd7fd4112c74bcea4dd (diff) | |
download | mpv-0f7a779f7e2d3f2ce73aec91102e6a192b052176.tar.bz2 mpv-0f7a779f7e2d3f2ce73aec91102e6a192b052176.tar.xz |
Fontconfig support based on patch by Arwed von Merkatz <v.merkatz@gmx.net>, but slightly reworked
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11583 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-common.h')
-rw-r--r-- | cfg-common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cfg-common.h b/cfg-common.h index eeec5b3a4c..11a6a1654d 100644 --- a/cfg-common.h +++ b/cfg-common.h @@ -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 |