From d4aeeb6bc84ae6afc309eec2d2000f078e3c7a91 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Wed, 22 Jul 2009 18:41:27 +0000 Subject: fixed bug re printing journal descriptions --- diff --git a/taturtle.py b/taturtle.py index f3d408a..a4f57b7 100644 --- a/taturtle.py +++ b/taturtle.py @@ -258,6 +258,7 @@ def draw_text(t, label, x, y, size, w): pl = t.tw.window.create_pango_layout(str(label)) else: print type(label) + pl = t.tw.window.create_pango_layout(str(label)) pl.set_font_description(fd) pl.set_width(int(w)*pango.SCALE) t.canvas.image.draw_layout(t.gc,int(x),int(y),pl) -- cgit v0.9.1