diff options
author | Tiago Vignatti <tiago.vignatti@nokia.com> | 2017-02-09 08:55:07 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-02-27 12:25:33 +0100 |
commit | cb760f14d69c33b8617787ebcca6c4477ed33598 (patch) | |
tree | 1b84d9788c8cf53e7d8337ee50835a79d6d2dd50 /nx-X11/programs/Xserver | |
parent | 899254993d9cfbc23dfbb5bb0c422ddd39b47288 (diff) | |
download | nx-libs-cb760f14d69c33b8617787ebcca6c4477ed33598.tar.gz nx-libs-cb760f14d69c33b8617787ebcca6c4477ed33598.tar.bz2 nx-libs-cb760f14d69c33b8617787ebcca6c4477ed33598.zip |
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: Tiago Vignatti <tiago.vignatti@nokia.com>
Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Backported-to-NX-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r-- | nx-X11/programs/Xserver/dix/dixfonts.c | 4 | ||||
-rw-r--r-- | nx-X11/programs/Xserver/include/dixfont.h | 5 |
2 files changed, 1 insertions, 8 deletions
diff --git a/nx-X11/programs/Xserver/dix/dixfonts.c b/nx-X11/programs/Xserver/dix/dixfonts.c index 4ac9fa696..c8e5f6cf0 100644 --- a/nx-X11/programs/Xserver/dix/dixfonts.c +++ b/nx-X11/programs/Xserver/dix/dixfonts.c @@ -1953,11 +1953,7 @@ InitFonts () { patternCache = MakeFontPatternCache(); -#if defined(BUILTIN_FONTS) || defined(NXAGENT_SERVER) - BuiltinRegisterFpeFunctions(); -#else register_fpe_functions(); -#endif } int diff --git a/nx-X11/programs/Xserver/include/dixfont.h b/nx-X11/programs/Xserver/include/dixfont.h index 1303d0e0f..6149d2160 100644 --- a/nx-X11/programs/Xserver/include/dixfont.h +++ b/nx-X11/programs/Xserver/include/dixfont.h @@ -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 */ |