Permalink
Browse files

remove garbages.

  • Loading branch information...
1 parent 3ec4d44 commit b9c0dc29707b3519f4f55026635194e36ffbfda6 @kou kou committed Dec 22, 2010
Showing with 0 additions and 2 deletions.
  1. +0 −2 app.rb
View
2 app.rb
@@ -268,8 +268,6 @@ def render_to_surface_jigoku(surface, scale, paper, info, font)
pixbuf = load_pixbuf(info)
if pixbuf
context.save do
- x_ratio = (paper.width - 10) / pixbuf.width.to_f
- y_ratio = (paper.height - 10) / pixbuf.height.to_f
x_ratio = paper.width / pixbuf.width.to_f
y_ratio = paper.height / pixbuf.height.to_f
if x_ratio > y_ratio

0 comments on commit b9c0dc2

Please sign in to comment.