Bug#539338: mkfontscale: add option to recurse subdirectories

2009-08-01 Thread Thomas Viehmann
Hi, thanks, Julien, for the comments, and sorry about the half-baked patch... Julien Cristau wrote: + && (stat(filename, &statbuf) == 0) && S_ISDIR(statbuf.st_mode)) { this can lead to an infinite loop since you follow symlinks. Juliusz suggested limiting the recursion to something

Bug#539338: mkfontscale: add option to recurse subdirectories

2009-07-31 Thread Julien Cristau
Hi Thomas, a couple comments on the patch. On Thu, Jul 30, 2009 at 21:00:05 +0200, Thomas Viehmann wrote: > @@ -831,7 +789,24 @@ > } > > filename = dsprintf("%s%s", dirname, entry->d_name); > +if (recurse & (strcmp(entry->d_name, ".") != 0) && > (strcmp(entry->d_name, "

Bug#539338: mkfontscale: add option to recurse subdirectories

2009-07-30 Thread Thomas Viehmann
X-Debbugs-CC: Juliusz Chroboczek Package: xfonts-utils Version: 1:7.4+1 Severity: wishlist Hi Juliusz, everyone, in the medium run it might be nice to use /usr/share/fonts/truetype in the X font path. However, fonts seem to be organized into subdirectories. To facilitate using the directory wi