pagesize.patch (2,247 bytes)
diff -Nurpd a/scribus/pagesize.cpp b/scribus/pagesize.cpp
--- a/scribus/pagesize.cpp 2024-01-07 18:07:09.000000000 +0100
+++ b/scribus/pagesize.cpp 2024-01-10 18:14:41.401677045 +0100
@@ -343,24 +343,6 @@ void PageSize::generateSizeList()
info.pageUnitIndex = SC_MM;
info.trSizeName = QObject::tr("Compact Disc");
m_pageSizeList.insert("Compact Disc", info);
- //Letter Half
- info.width = mm2pts(139.7);
- info.height = mm2pts(215.9);
- info.pageUnitIndex = SC_MM;
- info.trSizeName = QObject::tr("Letter Half");
- m_pageSizeList.insert("Letter Half", info);
- //US Letter
- info.width = mm2pts(215.9);
- info.height = mm2pts(279.4);
- info.pageUnitIndex = SC_MM;
- info.trSizeName = QObject::tr("US Letter");
- m_pageSizeList.insert("US Letter", info);
- //US Legal
- info.width = mm2pts(215.9);
- info.height = mm2pts(355.6);
- info.pageUnitIndex = SC_MM;
- info.trSizeName = QObject::tr("US Legal");
- m_pageSizeList.insert("US Legal", info);
//11x17
info.width = in2pts(11);
info.height = in2pts(17);
@@ -417,11 +399,43 @@ void PageSize::generateSizeList()
info.trSizeName = QObject::tr("27x39 (Arch E3)");
m_pageSizeList.insert("27x39 (Arch E3)", info);
- //Executive
+ //Novella
+ info.width = in2pts(5);
+ info.height = in2pts(8);
+ info.pageUnitIndex = SC_IN;
+ info.trSizeName = QObject::tr("Novella");
+ m_pageSizeList.insert("Novella", info);
+
+ //Digest (Half Letter)
+ info.width = in2pts(5.5);
+ info.height = in2pts(8.5);
+ info.pageUnitIndex = SC_IN;
+ info.trSizeName = QObject::tr("Digest (Half Letter)");
+ m_pageSizeList.insert("Digest (Half Letter)", info);
+
+ //US Trade
+ info.width = in2pts(6);
+ info.height = in2pts(9);
+ info.pageUnitIndex = SC_IN;
+ info.trSizeName = QObject::tr("US Trade");
+ m_pageSizeList.insert("US Trade", info);
+
+ //Crown Quarto
+ info.width = mm2pts(189);
+ info.height = mm2pts(246);
+ info.pageUnitIndex = SC_MM;
+ info.trSizeName = QObject::tr("Crown Quarto");
+ m_pageSizeList.insert("Crown Quarto", info);
+
+ //Comic Book
+ info.width = in2pts(6.63);
+ info.height = in2pts(10.25);
+ info.pageUnitIndex = SC_IN;
+ info.trSizeName = QObject::tr("Comic Book");
+ m_pageSizeList.insert("Comic Book", info);
+
//Folio
//Ledger
- //Legal
- //Letter
//Tabloid
}