summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Müller <mail@sbstjn.com>2016-12-09 17:35:00 +0100
committerKurt Jung <kurt.w.jung@gmail.com>2016-12-09 11:35:00 -0500
commitc81806e867518d8a4240c3aa2f9b8151b32fa46f (patch)
tree6fa914da1800ad0f6094a2c2661e013c2ce80f0c
parent733136048993977f0ddeb3260e7aa840249fb4b8 (diff)
Add page size for A6 (#97)
-rw-r--r--fpdf.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/fpdf.go b/fpdf.go
index 66cff72..5720137 100644
--- a/fpdf.go
+++ b/fpdf.go
@@ -127,6 +127,7 @@ func fpdfNew(orientationStr, unitStr, sizeStr, fontDirStr string, size SizeType)
f.stdPageSizes["a3"] = SizeType{841.89, 1190.55}
f.stdPageSizes["a4"] = SizeType{595.28, 841.89}
f.stdPageSizes["a5"] = SizeType{420.94, 595.28}
+ f.stdPageSizes["a6"] = SizeType{297.64, 420.94}
f.stdPageSizes["letter"] = SizeType{612, 792}
f.stdPageSizes["legal"] = SizeType{612, 1008}
if size.Wd > 0 && size.Ht > 0 {