From 4c2967f6267b01022c4f3651dcc0072a225f4b01 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 5 Mar 2003 05:48:15 +0000 Subject: [PATCH] Change RCS tag, add FcLangSetContains --- fontconfig/fcfreetype.h | 4 ++-- fontconfig/fcprivate.h | 4 ++-- fontconfig/fontconfig.h | 11 ++++++++--- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/fontconfig/fcfreetype.h b/fontconfig/fcfreetype.h index f0299ef..037d7e1 100644 --- a/fontconfig/fcfreetype.h +++ b/fontconfig/fcfreetype.h @@ -1,7 +1,7 @@ /* - * $XFree86: xc/lib/fontconfig/fontconfig/fcfreetype.h,v 1.2 2002/02/15 06:01:27 keithp Exp $ + * $RCSId: xc/lib/fontconfig/fontconfig/fcfreetype.h,v 1.2 2002/02/15 06:01:27 keithp Exp $ * - * Copyright © 2001 Keith Packard, member of The XFree86 Project, Inc. + * Copyright © 2001 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 diff --git a/fontconfig/fcprivate.h b/fontconfig/fcprivate.h index c12eb0a..477e1df 100644 --- a/fontconfig/fcprivate.h +++ b/fontconfig/fcprivate.h @@ -1,7 +1,7 @@ /* - * $XFree86: xc/lib/fontconfig/fontconfig/fcprivate.h,v 1.5 2002/08/19 19:32:04 keithp Exp $ + * $RCSId: xc/lib/fontconfig/fontconfig/fcprivate.h,v 1.5 2002/08/19 19:32:04 keithp Exp $ * - * Copyright © 2001 Keith Packard, member of The XFree86 Project, Inc. + * Copyright © 2001 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 diff --git a/fontconfig/fontconfig.h b/fontconfig/fontconfig.h index ae5dde5..ac2355f 100644 --- a/fontconfig/fontconfig.h +++ b/fontconfig/fontconfig.h @@ -1,7 +1,7 @@ /* - * $XFree86: xc/lib/fontconfig/fontconfig/fontconfig.h,v 1.30 2002/09/26 00:17:27 keithp Exp $ + * $RCSId: xc/lib/fontconfig/fontconfig/fontconfig.h,v 1.30 2002/09/26 00:17:27 keithp Exp $ * - * Copyright © 2001 Keith Packard, member of The XFree86 Project, Inc. + * Copyright © 2001 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 @@ -459,6 +459,9 @@ FcLangSetHasLang (const FcLangSet *ls, const FcChar8 *lang); FcLangResult FcLangSetCompare (const FcLangSet *lsa, const FcLangSet *lsb); +FcBool +FcLangSetContains (const FcLangSet *lsa, const FcLangSet *lsb); + FcBool FcLangSetEqual (const FcLangSet *lsa, const FcLangSet *lsb); @@ -703,7 +706,9 @@ FcStrCopy (const FcChar8 *s); FcChar8 * FcStrCopyFilename (const FcChar8 *s); -#define FcToLower(c) (('A' <= (c) && (c) <= 'Z') ? (c) - 'A' + 'a' : (c)) +#define FcIsUpper(c) (('A' <= (c) && (c) <= 'Z')) +#define FcIsLower(c) (('a' <= (c) && (c) <= 'z')) +#define FcToLower(c) (FcIsUpper(c) ? (c) - 'A' + 'a' : (c)) int FcStrCmpIgnoreCase (const FcChar8 *s1, const FcChar8 *s2); -- 2.39.5