]> git.wh0rd.org - fontconfig.git/blobdiff - fc-list/fc-list.c
Prevent fc-list from escaping strings when printing them.
[fontconfig.git] / fc-list / fc-list.c
index 04026cfa3552f682e393122c105225d2fdcc428f..48fbb601449f206260e6342caa72ea8c84dea2d7 100644 (file)
@@ -150,7 +150,7 @@ main (int argc, char **argv)
            FcChar8 *font;
            FcChar8 *file;
 
-           font = FcNameUnparse (fs->fonts[j]);
+           font = FcNameUnparseEscaped (fs->fonts[j], FcFalse);
            if (FcPatternGetString (fs->fonts[j], FC_FILE, 0, &file) == FcResultMatch)
                printf ("%s: ", file);
            printf ("%s\n", font);