From f51268259621a21d14e40b8a41c5803a5c2ce706 Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 18 Feb 2013 09:48:46 +0100 Subject: git update fontconfig libX11 mesa xkeyboard-config 18 Feb 2013 xkeyboard-config commit 5102e074fea319c10243579955b64366f11009fd libX11 commit deedeada53676ee529d700bf96fde0b29a3a1def fontconfig commit 2c696255749683e9a084f797eb033d222510a275 mesa commit dd599188d2868838541859a76800a8420958d358 --- fontconfig/src/fcfreetype.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fontconfig/src') diff --git a/fontconfig/src/fcfreetype.c b/fontconfig/src/fcfreetype.c index 267df8715..9bd789ca3 100644 --- a/fontconfig/src/fcfreetype.c +++ b/fontconfig/src/fcfreetype.c @@ -2561,7 +2561,8 @@ FcFreeTypeCharSet (FT_Face face, FcBlanks *blanks) * except for 'DFLT'. */ #define FcIsSpace(x) (040 == (x)) -#define FcIsValidScript(x) (FcIsLower(x) || FcIsUpper (x) || FcIsSpace(x)) +#define FcIsDigit(c) (('0' <= (c) && (c) <= '9')) +#define FcIsValidScript(x) (FcIsLower(x) || FcIsUpper (x) || FcIsDigit(x) || FcIsSpace(x)) static void addtag(FcChar8 *complex_, FT_ULong tag) @@ -2574,7 +2575,7 @@ addtag(FcChar8 *complex_, FT_ULong tag) tagstring[3] = (FcChar8)(tag); tagstring[4] = '\0'; - /* skip tags which aren't alphabetic, under the assumption that + /* skip tags which aren't alphanumeric, under the assumption that * they're probably broken */ if (!FcIsValidScript(tagstring[0]) || -- cgit v1.2.3