Changeset 4345 for toilet/trunk
- Timestamp:
- Feb 9, 2010, 12:34:05 AM (12 years ago)
- Location:
- toilet/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
toilet/trunk/doc/toilet.1.in
r4134 r4345 57 57 files stored in the 58 58 .B @datarootdir@/figlet 59 directory. Fonts are looked first in the font directory, then in the current 59 60 directory. There is also a special built-in font called 60 61 .I term -
toilet/trunk/src/figlet.c
r4138 r4345 43 43 snprintf(path, 2047, "%s/%s", cx->dir, cx->font); 44 44 if(caca_canvas_set_figfont(cx->cv, path)) 45 return -1; 45 { 46 snprintf(path, 2047, "./%s", cx->font); 47 if(caca_canvas_set_figfont(cx->cv, path)) 48 { 49 fprintf(stderr, "error: could not load font %s\n", cx->font); 50 return -1; 51 } 52 } 46 53 47 54 cx->feed = feed_figlet;
Note: See TracChangeset
for help on using the changeset viewer.