Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove garbages.

  • Loading branch information...
commit b9c0dc29707b3519f4f55026635194e36ffbfda6 1 parent 3ec4d44
@kou kou authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.