diff options
author | Erik Andren <erik.andren@gmail.com> | 2008-10-25 20:34:27 +0200 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2008-10-25 20:41:09 +0200 |
commit | 60bb5229f0fb16cee27077552fbc35d53c94f031 (patch) | |
tree | ca8be190e9736f0b7995eed499256c1ef1d23d9a | |
parent | 1a34928cd823ef1452b973bd7c4c1d12cd976bba (diff) |
Header cleanup (bug#4703)
Remove prototypes for nonexistent functions from Xft.h, and add missing
include in xftglyphs.c
Signed-off-by: Julien Cristau <jcristau@debian.org>
-rw-r--r-- | include/X11/Xft/Xft.h | 12 | ||||
-rw-r--r-- | src/xftglyphs.c | 4 |
2 files changed, 4 insertions, 12 deletions
diff --git a/include/X11/Xft/Xft.h b/include/X11/Xft/Xft.h index 18b063b..569807c 100644 --- a/include/X11/Xft/Xft.h +++ b/include/X11/Xft/Xft.h @@ -127,16 +127,6 @@ XftColorFree (Display *dpy, Colormap cmap, XftColor *color); - -/* xftcore.c */ - -/* xftdir.c */ -FcBool -XftDirScan (FcFontSet *set, _Xconst char *dir, FcBool force); - -FcBool -XftDirSave (FcFontSet *set, _Xconst char *dir); - /* xftdpy.c */ Bool XftDefaultHasRender (Display *dpy); @@ -619,8 +609,6 @@ XftTextRenderUtf16 (Display *dpy, FcEndian endian, int len); -/* xftstr.c */ - /* xftxlfd.c */ FcPattern * XftXlfdParse (_Xconst char *xlfd_orig, Bool ignore_scalable, Bool complete); diff --git a/src/xftglyphs.c b/src/xftglyphs.c index fc11da4..1d34f49 100644 --- a/src/xftglyphs.c +++ b/src/xftglyphs.c @@ -23,6 +23,10 @@ #include "xftint.h" #include <freetype/ftoutln.h> +#if HAVE_FT_GLYPHSLOT_EMBOLDEN +#include <freetype/ftsynth.h> +#endif + static const int filters[3][3] = { /* red */ #if 0 |