summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2006-05-09 22:43:09 +0000
committerBen Harris <bjh21@bjh21.me.uk>2006-05-09 22:43:09 +0000
commitb5945e9cec63ac9b990074805095d4e82c2d9a9b (patch)
tree4729a41f96e8bf92d0503c408db935ee9342d3f5
parent12c616cb89a48a967a7f66e23c57b0ec990ab65d (diff)
downloadhalibut-b5945e9cec63ac9b990074805095d4e82c2d9a9b.zip
halibut-b5945e9cec63ac9b990074805095d4e82c2d9a9b.tar.gz
halibut-b5945e9cec63ac9b990074805095d4e82c2d9a9b.tar.bz2
halibut-b5945e9cec63ac9b990074805095d4e82c2d9a9b.tar.xz
297mm is closer to 842pt than to 841pt, and the former seems to be the
accepted length of A4 paper in the PostScript/PDF world, so use it as our default. [originally from svn r6669]
-rw-r--r--bk_paper.c2
-rw-r--r--doc/output.but2
2 files changed, 2 insertions, 2 deletions
diff --git a/bk_paper.c b/bk_paper.c
index c4aac9c..5e0830f 100644
--- a/bk_paper.c
+++ b/bk_paper.c
@@ -221,7 +221,7 @@ static paper_conf paper_configure(paragraph *source, font_list *fontlist) {
* Defaults.
*/
ret.paper_width = 595 * UNITS_PER_PT;
- ret.paper_height = 841 * UNITS_PER_PT;
+ ret.paper_height = 842 * UNITS_PER_PT;
ret.left_margin = 72 * UNITS_PER_PT;
ret.top_margin = 72 * UNITS_PER_PT;
ret.right_margin = 72 * UNITS_PER_PT;
diff --git a/doc/output.but b/doc/output.but
index 9148751..dafa276 100644
--- a/doc/output.but
+++ b/doc/output.but
@@ -1611,7 +1611,7 @@ The default page size corresponds to 210\_\u00D7{x}\_297\_mm, i.e.,
\i{A4 paper}.
\c \cfg{paper-page-width}{595}
-\c \cfg{paper-page-height}{841}
+\c \cfg{paper-page-height}{842}
\c
\c \cfg{paper-left-margin}{72}
\c \cfg{paper-top-margin}{72}