Ignore:
Timestamp:
Feb 19, 2011, 2:11:34 PM (9 years ago)
Author:
Alex Foulon
Message:
  • Make mask an optional argument for Canvas.blit method.
  • Drawing and put_figchar methods now can handle utf8 chars.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/python/examples/figfont.py

    r4710 r4772  
    4343        sys.exit(2)
    4444
    45     for c in sys.argv[2]:
     45    for c in sys.argv[2].decode('utf8'):
    4646        color += 4
    4747        cv.set_color_ansi(1+(color % 15), caca.COLOR_TRANSPARENT)
Note: See TracChangeset for help on using the changeset viewer.