diff --git a/Gemfile.lock b/Gemfile.lock index d612b94..d957b88 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -20,4 +20,4 @@ DEPENDENCIES pry BUNDLED WITH - 1.17.2 + 2.2.22 diff --git a/planner.rb b/planner.rb index ea0980a..b640b78 100755 --- a/planner.rb +++ b/planner.rb @@ -29,7 +29,7 @@ } FILE_NAME = "time_block_pages.pdf" -PAGE_SIZE = 'LETTER' +PAGE_SIZE = 'A4' # Order is top, right, bottom, left LEFT_PAGE_MARGINS = [36, 72, 36, 36] RIGHT_PAGE_MARGINS = [36, 36, 36, 72] @@ -454,7 +454,7 @@ def weekend_page saturday, sunday end end -Prawn::Document.generate(FILE_NAME, margin: RIGHT_PAGE_MARGINS, print_scaling: :none) do +Prawn::Document.generate(FILE_NAME, margin: RIGHT_PAGE_MARGINS, page_size: PAGE_SIZE, print_scaling: :none) do font_families.update(FONTS) font(FONTS.keys.first) stroke_color MEDIUM_COLOR