diff options
author | Kurt <kurt.w.jung@gmail.com> | 2016-12-16 14:15:03 -0500 |
---|---|---|
committer | Kurt <kurt.w.jung@gmail.com> | 2016-12-16 14:15:03 -0500 |
commit | 81e1e93b509dd8fc2775e37e5a6e1f416285a66f (patch) | |
tree | 3314fe34c97557039973a4ba9e12552cc6077e8b | |
parent | fbdaed0ce0c9742369ce44763b4a8cbbd492b771 (diff) | |
parent | cbca7b89aec538890edd7dcd51438bd8ff8d265e (diff) |
Merge branch 'master' of https://github.com/jung-kurt/gofpdf
-rw-r--r-- | fpdf.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -128,6 +128,8 @@ func fpdfNew(orientationStr, unitStr, sizeStr, fontDirStr string, size SizeType) 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["a2"] = SizeType{1190.55, 1683.78} + f.stdPageSizes["a1"] = SizeType{1683.78, 2383.94} f.stdPageSizes["letter"] = SizeType{612, 792} f.stdPageSizes["legal"] = SizeType{612, 1008} if size.Wd > 0 && size.Ht > 0 { |