From 148656ed8b3755f0634be14ae60996a1ad493836 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 27 Feb 2003 07:04:59 +0000 Subject: [PATCH] Stop setting FC_SPACING from font hints. Theyre always wrong --- src/fcfreetype.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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; -- 2.39.5