summaryrefslogtreecommitdiff
path: root/bk_paper.c
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 /bk_paper.c
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]
Diffstat (limited to 'bk_paper.c')
-rw-r--r--bk_paper.c2
1 files changed, 1 insertions, 1 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;