6 * Default version: convert to file name
10 subfontname(char *cfname, char *fname, int maxdepth)
12 char *t, *u, *tmp1, *tmp2;
15 t = strdup(cfname); /* t is the return string */
16 if(strcmp(cfname, "*default*") == 0)
20 u = utfrrune(tmp2, '/');
25 tmp1 = smprint("%s/%s", tmp2, t);
38 tmp2 = smprint("%s.%d", t, i);
39 if(access(tmp2, AREAD) == 0) {
47 if(access(t, AREAD) == 0)