custom pageSize

This commit is contained in:
Klaus Wendel, archium GmbH 2021-03-02 16:08:36 +01:00
parent 7ff87b4f7a
commit 6e4bf86e1b

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":