From 792264122c72d14af80a2abd8cad0157751703df Mon Sep 17 00:00:00 2001 From: Takahiro Nishino Date: Tue, 11 Jun 2019 12:59:12 +0900 Subject: [PATCH] fix(page): fix A2 and A3 format size (#4569) 16.5 inch ~ 419.1mm 16.54 inch ~ 420.1mm Fix #4568 --- docs/api.md | 4 ++-- lib/Page.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/api.md b/docs/api.md index bd4fbb06..03436ce2 100644 --- a/docs/api.md +++ b/docs/api.md @@ -1587,8 +1587,8 @@ The `format` options are: - `Ledger`: 17in x 11in - `A0`: 33.1in x 46.8in - `A1`: 23.4in x 33.1in -- `A2`: 16.5in x 23.4in -- `A3`: 11.7in x 16.5in +- `A2`: 16.54in x 23.4in +- `A3`: 11.7in x 16.54in - `A4`: 8.27in x 11.7in - `A5`: 5.83in x 8.27in - `A6`: 4.13in x 5.83in diff --git a/lib/Page.js b/lib/Page.js index dfca9445..461f3042 100644 --- a/lib/Page.js +++ b/lib/Page.js @@ -1136,8 +1136,8 @@ Page.PaperFormats = { ledger: {width: 17, height: 11}, a0: {width: 33.1, height: 46.8 }, a1: {width: 23.4, height: 33.1 }, - a2: {width: 16.5, height: 23.4 }, - a3: {width: 11.7, height: 16.5 }, + a2: {width: 16.54, height: 23.4 }, + a3: {width: 11.7, height: 16.54 }, a4: {width: 8.27, height: 11.7 }, a5: {width: 5.83, height: 8.27 }, a6: {width: 4.13, height: 5.83 },