fc-cache: Show font directories to generate cache with -v
This commit is contained in:
parent
d1acc73f23
commit
791762d8b7
|
@ -404,6 +404,17 @@ main (int argc, char **argv)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (verbose)
|
||||||
|
{
|
||||||
|
const FcChar8 *dir;
|
||||||
|
|
||||||
|
printf ("Font directories:\n");
|
||||||
|
while ((dir = FcStrListNext (list)))
|
||||||
|
{
|
||||||
|
printf ("\t%s\n", dir);
|
||||||
|
}
|
||||||
|
FcStrListFirst(list);
|
||||||
|
}
|
||||||
changed = 0;
|
changed = 0;
|
||||||
ret = scanDirs (list, config, force, really_force, verbose, error_on_no_fonts, &changed);
|
ret = scanDirs (list, config, force, really_force, verbose, error_on_no_fonts, &changed);
|
||||||
FcStrListDone (list);
|
FcStrListDone (list);
|
||||||
|
|
Loading…
Reference in New Issue