From: ben Date: Tue, 9 May 2006 22:43:09 +0000 (+0000) Subject: 297mm is closer to 842pt than to 841pt, and the former seems to be the X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/commitdiff_plain/30ddbdc187c9401df13cb2c2616bdd140b636aec 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. git-svn-id: svn://svn.tartarus.org/sgt/halibut@6669 cda61777-01e9-0310-a592-d414129be87e --- 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}