Fix layout and qr code

This commit is contained in:
Stefan Schlott 2013-09-06 09:38:40 +02:00
parent 2e391bace6
commit 64a6e1a890
3 changed files with 92 additions and 52 deletions

View file

@ -7,16 +7,6 @@ description 'Create SVG file with content of given event'
class CreateFlyer < ::Nanoc::CLI::CommandRunner
require 'rqrcode_png'
# Monkey-patch qr generator
module RQRCodePNG
class Sequence
def border_width()
# No boundary around image
0
end
end
end
def get_qr(data)
qr = nil
size = 7