Commit ec30a857 authored by Tiago Vignatti's avatar Tiago Vignatti Committed by Mihai Moldovan

dix: use one single function to register fpe fonts

In NXAGENT_SERVER we can also fully rely on libXfont for handling fpe internals. Backported from X.org: commit 75536ee80595c79bba95a1fb6844126ee08486d4 Author: Tiago Vignatti <tiago.vignatti@nokia.com> Date: Wed Jun 23 15:18:03 2010 +0300 dix: use one single function to register fpe fonts X server doesn't need to understand fpe internals, so use register_fpe_functions from libXfont. It's required to get new version of libXfont, therefore adjust it to be passed to autoconf. Signed-off-by: 's avatarTiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: 's avatarMikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: 's avatarAlex Deucher <alexdeucher@gmail.com> Signed-off-by: 's avatarKeith Packard <keithp@keithp.com> Backported-to-NX-by: 's avatarMike Gabriel <mike.gabriel@das-netzwerkteam.de>
parent 7bf44462
......@@ -1953,11 +1953,7 @@ InitFonts ()
{
patternCache = MakeFontPatternCache();
#if defined(BUILTIN_FONTS) || defined(NXAGENT_SERVER)
BuiltinRegisterFpeFunctions();
#else
register_fpe_functions();
#endif
}
int
......
......@@ -150,9 +150,6 @@ extern void InitGlyphCaching(void);
extern void SetGlyphCachingMode(int /*newmode*/);
/*
* libXfont/src/builtins/builtin.h
*/
extern _X_EXPORT void BuiltinRegisterFpeFunctions(void);
extern void register_fpe_functions(void);
#endif /* DIXFONT_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment