From a709fd04b539c8da466596ad74b962a426e40bfd Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 30 Jan 2022 17:40:42 +0000 Subject: [PATCH] Added option to configure PDF export paper size For #995 --- .env.example.complete | 5 +++++ app/Config/dompdf.php | 7 ++++++- app/Config/snappy.php | 6 ++++++ tests/Unit/ConfigTest.php | 14 ++++++++++++++ 4 files changed, 31 insertions(+), 1 deletion(-) diff --git a/.env.example.complete b/.env.example.complete index 37b46fec2..9d24fceeb 100644 --- a/.env.example.complete +++ b/.env.example.complete @@ -297,6 +297,11 @@ RECYCLE_BIN_LIFETIME=30 # Maximum file size, in megabytes, that can be uploaded to the system. FILE_UPLOAD_SIZE_LIMIT=50 +# Export Page Size +# Primarily used to determine page size of PDF exports. +# Can be 'a4' or 'letter'. +EXPORT_PAGE_SIZE=a4 + # Allow