* Don't autocrop final canvas if it was rendered with the figlet engine.
This commit is contained in:
parent
e80a522fcc
commit
02b3c15dc9
1 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue