From: Keith Packard Date: Tue, 18 Mar 2003 08:03:42 +0000 (+0000) Subject: FcCharSetIsSubset errored on fonts with subsets in early blocks and extra X-Git-Tag: fc-2_1_93~17 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1b16ef20c9c7dd5c3e861a392e886cbe6c046306;p=fontconfig.git FcCharSetIsSubset errored on fonts with subsets in early blocks and extra blocks not present in the second argument --- diff --git a/src/fccharset.c b/src/fccharset.c index a8fffdd..1c0ebdd 100644 --- a/src/fccharset.c +++ b/src/fccharset.c @@ -637,7 +637,7 @@ FcCharSetIsSubset (const FcCharSet *a, const FcCharSet *b) bi++; } } - return FcTrue; + return ai >= a->num; } /*