X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fruby%2Ftest.rb;h=40cbc5b289545cdb140460c02e530ef64ee5d3b6;hp=845de3e9e2be5cc625b08911a46c54c62f164cd5;hb=16b3ec8586781533377ab49471aeae65d8e4bcce;hpb=c8d6cf8331f06b182741692fc0c80a75569bbff4 diff --git a/lib/ruby/test.rb b/lib/ruby/test.rb index 845de3e..40cbc5b 100644 --- a/lib/ruby/test.rb +++ b/lib/ruby/test.rb @@ -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)