]> git.wh0rd.org - fontconfig.git/commitdiff
Stop setting FC_SPACING from font hints. Theyre always wrong
authorKeith Packard <keithp@keithp.com>
Thu, 27 Feb 2003 07:04:59 +0000 (07:04 +0000)
committerKeith Packard <keithp@keithp.com>
Thu, 27 Feb 2003 07:04:59 +0000 (07:04 +0000)
src/fcfreetype.c

index b5a859fe1cc951889a9fa3c00150ba65ae2ff3ff..d8799fc6e8ea2b6c32fa724f88e4a8bbf698d45a 100644 (file)
@@ -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;