Browse Source

* Don't autocrop final canvas if it was rendered with the figlet engine.

pull/1/head
Sam Hocevar sam 18 years ago
parent
commit
02b3c15dc9
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/main.c

+ 3
- 3
src/main.c View File

@@ -160,15 +160,15 @@ int main(int argc, char *argv[])

/* Render string to canvas */
if(!strcasecmp(font, "mono9"))
{
cv = render_big(string, length);
filter_autocrop(cv);
}
else if(!strcasecmp(font, "term"))
cv = render_tiny(string, length);
else
cv = render_figlet(string, length, font);

/* Crop output */
filter_autocrop(cv);

/* Do gay stuff with our string (léopard) */
if(flag_metal)
filter_metal(cv);


Loading…
Cancel
Save