Permalink
Browse files

Fix image reseting

  • Loading branch information...
1 parent 5e143f3 commit 6505bb9bf110f9de59ac40efec4d4c119216c874 @pepe committed Nov 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/glyphr.rb
View
@@ -55,7 +55,7 @@ def reset_matrix_image
computed_lines += 1 if (@matrix.size % items_per_line) > 0
@image_height = computed_lines * v_advance
@image_width = items_per_line * h_advance
- @image = OilyPNG::Canvas.new(image_width, image_height, ChunkyPNG::Color::WHITE)
+ reset_image
end
def glyphs_from(composition)

0 comments on commit 6505bb9

Please sign in to comment.