summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2022-06-08 03:52:47 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2022-06-11 11:10:22 -0400
commit81944f3796dc1cc1a9529233cec3f3b2c2d546b3 (patch)
treeb22df580944f6ef7f6e9fdd0914ceeafb022f054
parent5b191b7db9e6a785ed566c82419b11540c240423 (diff)
downloadxorg-lib-libXft-81944f3796dc1cc1a9529233cec3f3b2c2d546b3.tar.gz
move prototype for XftNameUnparse to Xft.h
This entrypoint has "always" been exported, but not declared publicly. It is used for debugging in xterm. Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
-rw-r--r--include/X11/Xft/Xft.h.in3
-rw-r--r--src/xftint.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/include/X11/Xft/Xft.h.in b/include/X11/Xft/Xft.h.in
index 9b3b475..7341f56 100644
--- a/include/X11/Xft/Xft.h.in
+++ b/include/X11/Xft/Xft.h.in
@@ -434,6 +434,9 @@ XftListFonts (Display *dpy,
FcPattern
*XftNameParse (_Xconst char *name);
+FcBool
+XftNameUnparse (FcPattern *pat, char *dest, int len);
+
/* xftrender.c */
void
XftGlyphRender (Display *dpy,
diff --git a/src/xftint.h b/src/xftint.h
index 9882e12..eda0296 100644
--- a/src/xftint.h
+++ b/src/xftint.h
@@ -316,7 +316,6 @@ FcResult XftPatternGetBool (FcPattern *p, _Xconst char *object, int id, FcBool *
FcPattern *XftPatternDuplicate (FcPattern *orig);
FcPattern *XftPatternVaBuild (FcPattern *orig, va_list va);
FcPattern *XftPatternBuild (FcPattern *orig, ...);
-FcBool XftNameUnparse (FcPattern *pat, char *dest, int len);
FcBool XftGlyphExists (Display *dpy, XftFont *font, FcChar32 ucs4);
FcObjectSet *XftObjectSetCreate (void);
Bool XftObjectSetAdd (FcObjectSet *os, _Xconst char *object);