Project

General

Profile

Revision 207

maybe working

View differences:

font.c
201 201
    for(int16_t newy = 0; newy < newH; ++newy){
202 202
        for(int16_t newx = 0; newx < newW; ++newx){
203 203
            uint8_t a = *(alp_new_buf+newx+newy*newW);
204
            graph_set_pixel_alpha(initx+newx,inity+newy,p->color, a);
204
            if(a < 0x7F) graph_set_pixel(initx+newx,inity+newy,p->color);
205 205
        }
206 206
    }
207 207
    free(alp_new_buf);

Also available in: Unified diff