diff options
author | Sebastian Müller <mail@sbstjn.com> | 2016-12-09 17:35:00 +0100 |
---|---|---|
committer | Kurt Jung <kurt.w.jung@gmail.com> | 2016-12-09 11:35:00 -0500 |
commit | c81806e867518d8a4240c3aa2f9b8151b32fa46f (patch) | |
tree | 6fa914da1800ad0f6094a2c2661e013c2ce80f0c | |
parent | 733136048993977f0ddeb3260e7aa840249fb4b8 (diff) |
Add page size for A6 (#97)
-rw-r--r-- | fpdf.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 { |