Changeset 4304


Ignore:
Timestamp:
Jan 27, 2010, 1:42:57 AM (8 years ago)
Author:
Sam Hocevar
Message:

Activate colour toilet font support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/figfont.c

    r4139 r4304  
    232232    {
    233233        uint32_t ch1, ch2;
    234         //uint32_t tmpat = caca_get_attr(ff->fontcv, x, y + c * ff->height);
     234        uint32_t tmpat = caca_get_attr(ff->fontcv, x, y + c * ff->height);
    235235        ch2 = caca_get_char(ff->charcv, x, y);
    236236        if(ch2 == ' ')
    237237            continue;
    238238        ch1 = caca_get_char(cv, ff->x + x - overlap, ff->y + y);
    239         /* FIXME: this could be changed to caca_put_attr() when the
    240          * function is fixed in libcaca */
    241         //caca_set_attr(cv, tmpat);
    242239        if(ch1 == ' ' || ff->hmode != H_SMUSH)
    243240            caca_put_char(cv, ff->x + x - overlap, ff->y + y, ch2);
     
    245242            caca_put_char(cv, ff->x + x - overlap, ff->y + y,
    246243                           hsmush(ch1, ch2, ff->hsmushrule));
    247         //caca_put_attr(cv, ff->x + x, ff->y + y, tmpat);
     244        caca_put_attr(cv, ff->x + x, ff->y + y, tmpat);
    248245    }
    249246
Note: See TracChangeset for help on using the changeset viewer.