]> git.wh0rd.org - fontconfig.git/blobdiff - src/fcfreetype.c
Stop setting FC_SPACING from font hints. Theyre always wrong
[fontconfig.git] / 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;