]> 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 0fa1a8dccaf6f790b09cafdb06d93b7fa4b132b0..48fbb601449f206260e6342caa72ea8c84dea2d7 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * $RCSId: xc/lib/fontconfig/fc-list/fc-list.c,v 1.5 2002/06/30 23:45:40 keithp Exp $
  *
- * Copyright © 2002 Keith Packard
+ * Copyright Â© 2002 Keith Packard
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
  * documentation for any purpose is hereby granted without fee, provided that
@@ -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);