diff options
author | Tiago Vignatti <tiago.vignatti@nokia.com> | 2017-02-09 08:55:07 +0100 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2017-03-01 15:19:18 +0100 |
commit | ec30a857eb0d67b232f8d43e63a6370023f4c4d0 (patch) | |
tree | f7d4aea4a77fba834439555eff1f1d79688a993a /nx-X11/programs/Xserver | |
parent | 7bf444621830b2ae7c2e8dcf846de5fc425b3d74 (diff) | |
download | nx-libs-ec30a857eb0d67b232f8d43e63a6370023f4c4d0.tar.gz nx-libs-ec30a857eb0d67b232f8d43e63a6370023f4c4d0.tar.bz2 nx-libs-ec30a857eb0d67b232f8d43e63a6370023f4c4d0.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 */ |