]> git.wh0rd.org - fontconfig.git/blobdiff - src/fclist.c
Revert to original FcFontSetMatch algorithm to avoid losing fonts.
[fontconfig.git] / src / fclist.c
index fa567a0491338eec3a2ee039a7bcf5097bebed42..9aef84297150cb12c146fd4518e395b6a8f63412 100644 (file)
@@ -22,8 +22,8 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-#include <stdlib.h>
 #include "fcint.h"
+#include <stdlib.h>
 
 FcObjectSet *
 FcObjectSetCreate (void)
@@ -422,14 +422,6 @@ FcListAppend (FcListHashTable      *table,
        else
            defidx = 0;
 
-        /* Also, copy over the full path info. */
-       if (!strcmp (os->objects[o], FC_FILE))
-       {
-           FcChar8 * s;
-           FcPatternGetString (font, FC_FILE, 0, &s);
-           FcPatternAddFullFname (bucket->pattern, FcPatternFindFullFname(font));
-       }
-
        e = FcPatternFindElt (font, os->objects[o]);
        if (e)
        {