comparison src/font-mgr.h @ 4328:dfd878799ef0

Autoconfiscate the recent fontconfig spelling change. ChangeLog addition: 2007-12-12 Aidan Kehoe <kehoea@parhasard.net> * configure.ac : Check for FcConfigGetRescanInterval, FcConfigSetRescanInterval. * configure : Rebuild. src/ChangeLog additon: 2007-12-12 Aidan Kehoe <kehoea@parhasard.net> * config.h.in: Make the results of the checks for FcConfigGetRescanInterval, FcConfigSetRescanInterval available. * font-mgr.h: If FcConfigSetRescanInterval and FcConfigGetRescanInterval are not available as functions, #define them to map to their old misspelled names. * font-mgr.c (Ffc_config_get_rescan_interval): * font-mgr.c (Ffc_config_set_rescan_interval): Use the correct spelling in FcConfigGetRescanInterval, FcConfigSetRescanInterval
author Aidan Kehoe <kehoea@parhasard.net>
date Fri, 14 Dec 2007 14:25:04 +0100
parents fd1f0c73d4df
children a23ac8f90a49
comparison
equal deleted inserted replaced
4327:466ad8ad5f13 4328:dfd878799ef0
88 #define XFCCONFIG_PTR(x) (XFCCONFIG(x)->fccfgPtr) 88 #define XFCCONFIG_PTR(x) (XFCCONFIG(x)->fccfgPtr)
89 89
90 #endif /* FONTCONFIG_EXPOSE_CONFIG */ 90 #endif /* FONTCONFIG_EXPOSE_CONFIG */
91 91
92 #ifdef USE_XFT 92 #ifdef USE_XFT
93
94 #ifndef HAVE_FCCONFIGGETRESCANINTERVAL
95 /* Older fontconfig versions misspell this function name. */
96 #define FcConfigGetRescanInterval FcConfigGetRescanInverval
97 #endif /* */
98
99 #ifndef HAVE_FCCONFIGSETRESCANINTERVAL
100 /* Older fontconfig versions misspell this function name. */
101 #define FcConfigSetRescanInterval FcConfigSetRescanInverval
102 #endif /* */
103
93 /* 104 /*
94 The format of a fontname (as returned by fontconfig) is not well-documented, 105 The format of a fontname (as returned by fontconfig) is not well-documented,
95 But the character repertoire is represented in an ASCII-compatible way. See 106 But the character repertoire is represented in an ASCII-compatible way. See
96 fccharset.c (FcCharSetUnparse). So we can use UTF-8 for long names. 107 fccharset.c (FcCharSetUnparse). So we can use UTF-8 for long names.
97 108