Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

subsequent canvas.set_font() calls not working

edited January 2013 in OpenSesame

OpenSesame 0.27 win32 (XP)

If you run the following piece of code
<br /> my_canvas.set_font(size=30)<br /> my_canvas.text(displaytext, y=200, color=textcolor)<br /> my_canvas.set_font(size=12)<br /> my_canvas.text(extratext, y=400)<br />
the font is enlarged to 30pt by the first call to set_font() , but the second call doesn't seem to do anything:
the text is still displayed in 30 pt and does not rescale text back to 12pt.


Sign In or Register to comment.