custom pageSize

This commit is contained in:
Klaus Wendel, archium GmbH 2021-03-02 16:08:36 +01:00
parent 7ff87b4f7a
commit 6e4bf86e1b
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ func fpdfNew(orientationStr, unitStr, sizeStr, fontDirStr string, size SizeType)
case "pt", "point":
f.k = 1.0
case "mm":
a = 72.0 / 25.4
f.k = 72.0 / 25.4
case "cm":
f.k = 72.0 / 2.54
case "in", "inch":