Ignore:
Timestamp:
Oct 10, 2006, 1:54:40 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • The mono9 driver works again. With wrapping and stdin reading.
File:
1 edited

Legend:

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

    r1193 r1194  
    170170    }
    171171
    172 #if 0
    173     if(optind >= argc)
    174 #endif
    175 
    176 #if 0
    177     /* Render string to canvas */
    178172    if(!strcasecmp(cx->font, "mono9"))
    179     {
    180         cv = render_big(string, length);
    181         filter_autocrop(cv);
    182     }
    183     else if(!strcasecmp(cx->font, "term"))
    184         cv = render_tiny(string, length);
    185     else
    186         cv = render_figlet(cx, string, length);
    187 #endif
    188 
    189     init_tiny(cx);
     173        init_big(cx);
     174    else /* if(!strcasecmp(cx->font, "term")) */
     175        init_tiny(cx);
    190176
    191177    if(optind >= argc)
     
    230216
    231217    /* Apply optional effects to our string */
     218    if(!strcasecmp(cx->font, "mono9"))
     219        filter_autocrop(cx->cv);
    232220    if(flag_metal)
    233221        filter_metal(cx->cv);
Note: See TracChangeset for help on using the changeset viewer.