From: Keith Packard Date: Thu, 27 Feb 2003 07:04:59 +0000 (+0000) Subject: Stop setting FC_SPACING from font hints. Theyre always wrong X-Git-Tag: fc-2_1_91~17 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=148656ed8b3755f0634be14ae60996a1ad493836;p=fontconfig.git Stop setting FC_SPACING from font hints. Theyre always wrong --- diff --git a/src/fcfreetype.c b/src/fcfreetype.c index b5a859f..d8799fc 100644 --- a/src/fcfreetype.c +++ b/src/fcfreetype.c @@ -467,7 +467,12 @@ FcFreeTypeQuery (const FcChar8 *file, if (!FcPatternAddString (pat, FC_SOURCE, (FcChar8 *) "FreeType")) goto bail1; -#if 1 +#if 0 + /* + * don't even try this -- CJK 'monospace' fonts are really + * dual width, and most other fonts don't bother to set + * the attribute. Sigh. + */ if ((face->face_flags & FT_FACE_FLAG_FIXED_WIDTH) != 0) if (!FcPatternAddInteger (pat, FC_SPACING, FC_MONO)) goto bail1;