diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2022-10-16 16:55:36 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2022-10-16 16:55:36 +0000 |
commit | b370d84534509b3c276713af1830254c6e6299f1 (patch) | |
tree | 75095e1d4d777dad8a04311f49f41aceeb4b8535 /lib/libXft/include/X11/Xft | |
parent | 4ca1f6a1942c0618a7c2fe527cbbb358409d57f8 (diff) |
Update to libXft 2.3.6 - bug fixes + new manual pages.
Diffstat (limited to 'lib/libXft/include/X11/Xft')
-rw-r--r-- | lib/libXft/include/X11/Xft/Xft.h.in | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/lib/libXft/include/X11/Xft/Xft.h.in b/lib/libXft/include/X11/Xft/Xft.h.in index 9b3b475c6..df0c2c055 100644 --- a/lib/libXft/include/X11/Xft/Xft.h.in +++ b/lib/libXft/include/X11/Xft/Xft.h.in @@ -1,23 +1,24 @@ /* + * Copyright © 2022 Thomas E. Dickey * Copyright © 2000 Keith Packard * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that - * the above copyright notice appear in all copies and that both that - * copyright notice and this permission notice appear in supporting - * documentation, and that the name of Keith Packard not be used in - * advertising or publicity pertaining to distribution of the software without - * specific, written prior permission. Keith Packard makes no + * the above copyright notice appear in all copies and that both that copyright + * notice and this permission notice appear in supporting documentation, and + * that the name of the above copyright holders not be used in advertising or + * publicity pertaining to distribution of the software without specific, + * written prior permission. The above copyright holders make no * representations about the suitability of this software for any purpose. It * is provided "as is" without express or implied warranty. * - * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, - * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO - * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR - * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, - * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER - * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - * PERFORMANCE OF THIS SOFTWARE. + * THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD TO + * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE + * FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER + * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF + * CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #ifndef _XFT_H_ @@ -55,6 +56,7 @@ #define XFT_XLFD "xlfd" #define XFT_MAX_GLYPH_MEMORY "maxglyphmemory" #define XFT_MAX_UNREF_FONTS "maxunreffonts" +#define XFT_TRACK_MEM_USAGE "trackmemusage" extern FT_Library _XftFTlibrary; @@ -434,6 +436,9 @@ XftListFonts (Display *dpy, FcPattern *XftNameParse (_Xconst char *name); +FcBool +XftNameUnparse (FcPattern *pat, char *dest, int len); + /* xftrender.c */ void XftGlyphRender (Display *dpy, |