Changeset 1110 for toilet


Ignore:
Timestamp:
Sep 26, 2006, 11:40:35 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Don't autocrop final canvas if it was rendered with the figlet engine.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • toilet/trunk/src/main.c

    r1102 r1110  
    161161    /* Render string to canvas */
    162162    if(!strcasecmp(font, "mono9"))
     163    {
    163164        cv = render_big(string, length);
     165        filter_autocrop(cv);
     166    }
    164167    else if(!strcasecmp(font, "term"))
    165168        cv = render_tiny(string, length);
    166169    else
    167170        cv = render_figlet(string, length, font);
    168 
    169     /* Crop output */
    170     filter_autocrop(cv);
    171171
    172172    /* Do gay stuff with our string (léopard) */
Note: See TracChangeset for help on using the changeset viewer.