adjust font size

This commit is contained in:
Pete Matsyburka
2025-07-14 12:53:15 +03:00
committed by GitHub
parent 0310c26edd
commit 1f338dfd2b
21 changed files with 173 additions and 54 deletions
+3
View File
@@ -1,6 +1,9 @@
# frozen_string_literal: true
module PdfUtils
DEFAULT_DPI = 72
US_LETTER_W = DEFAULT_DPI * 8.5
module_function
def encrypted?(data, password: nil)
@@ -50,8 +50,8 @@ module Submissions
TESTING_FOOTER = 'Testing Document - NOT LEGALLY BINDING'
DEFAULT_FONTS = %w[Times Helvetica Courier].freeze
FONTS_LINE_HEIGHT = {
'Times' => 1.4,
'Helvetica' => 1.4,
'Times' => 1.5,
'Helvetica' => 1.5,
'Courier' => 1.6
}.freeze
+1
View File
@@ -15,6 +15,7 @@ module Templates
MAX_NUMBER_OF_PAGES_PROCESSED = 15
MAX_FLATTEN_FILE_SIZE = 20.megabytes
GENERATE_PREVIEW_SIZE_LIMIT = 50.megabytes
US_LETTER_SIZE = { 'width' => MAX_WIDTH, 'height' => 1812 }.freeze
module_function