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

This commit is contained in:
Sam Hocevar 2006-09-26 21:40:35 +00:00 committed by sam
parent e80a522fcc
commit 02b3c15dc9

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);