From f2ab7b6c0a4e6b4bd892120a7a6cc84e974f8d93 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Tue, 28 Jul 2009 06:21:50 +0000 Subject: [PATCH] Added A5 format. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@798415 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/render/pcl/PCLPageDefinition.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/java/org/apache/fop/render/pcl/PCLPageDefinition.java b/src/java/org/apache/fop/render/pcl/PCLPageDefinition.java index 54ad1e73a..3e577cfa0 100644 --- a/src/java/org/apache/fop/render/pcl/PCLPageDefinition.java +++ b/src/java/org/apache/fop/render/pcl/PCLPageDefinition.java @@ -177,6 +177,9 @@ public class PCLPageDefinition { pageDefinitions.add(new PCLPageDefinition("Ledger", 6, createPhysicalPageSizeInch(11, 17), createLogicalPageRect(75, 0, 3150, 5100), false)); + pageDefinitions.add(new PCLPageDefinition("A5", 25, + createPhysicalPageSizeMm(148, 210), + createLogicalPageRect(71, 0, 1745, 2480), false)); pageDefinitions.add(new PCLPageDefinition("A4", 26, createPhysicalPageSizeMm(210, 297), createLogicalPageRect(71, 0, 2338, 3507), false)); @@ -198,6 +201,9 @@ public class PCLPageDefinition { pageDefinitions.add(new PCLPageDefinition("LedgerL", 6, createPhysicalPageSizeInch(17, 11), createLogicalPageRect(60, 0, 4980, 3300), true)); + pageDefinitions.add(new PCLPageDefinition("A5L", 25, + createPhysicalPageSizeMm(210, 148), + createLogicalPageRect(59, 0, 2362, 1747), true)); pageDefinitions.add(new PCLPageDefinition("A4L", 26, createPhysicalPageSizeMm(297, 210), createLogicalPageRect(59, 0, 3389, 2480), true)); -- 2.39.5