fc-cache: Show font directories to generate cache with -v

This commit is contained in:
Akira TAGOH 2019-04-02 11:03:16 +00:00
parent d1acc73f23
commit 791762d8b7
1 changed files with 11 additions and 0 deletions

View File

@ -404,6 +404,17 @@ main (int argc, char **argv)
return 1;
}
if (verbose)
{
const FcChar8 *dir;
printf ("Font directories:\n");
while ((dir = FcStrListNext (list)))
{
printf ("\t%s\n", dir);
}
FcStrListFirst(list);
}
changed = 0;
ret = scanDirs (list, config, force, really_force, verbose, error_on_no_fonts, &changed);
FcStrListDone (list);