implemented fonts in ruby wrapper
[swftools.git] / lib / ruby / test.rb
index 845de3e..40cbc5b 100644 (file)
@@ -31,6 +31,8 @@ class TestRender < GFX::Device
         puts "fillgradient(#{line}, #{gradient}, #{type}, #{gradcoord2devcoord})"
     end
     def addfont(font)
+        p @lastfont === font
+        @lastfont = font
         puts "addfont(#{font})"
     end
     def drawchar(font, glyph, color, matrix)