Ignore:
Timestamp:
May 18, 2006, 8:09:44 AM (15 years ago)
Author:
Sam Hocevar
Message:
  • If the export test target is ANSI or UTF-8, dither image with special shaded glyphs.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/test/export.c

    r932 r956  
    109109        dither = cucul_create_dither(32, 256, 256, 4 * 256,
    110110                                     0x00ff0000, 0x0000ff00, 0x000000ff, 0x0);
     111        if(!strcmp(format, "ansi") || !strcmp(format, "utf8"))
     112            cucul_set_dither_charset(dither, "shades");
    111113        cucul_dither_bitmap(cv, 0, 0, cucul_get_canvas_width(cv),
    112114                            cucul_get_canvas_height(cv), dither, pixels);
Note: See TracChangeset for help on using the changeset viewer.