custom pageSize
This commit is contained in:
parent
7ff87b4f7a
commit
6e4bf86e1b
2
fpdf.go
2
fpdf.go
|
@ -126,7 +126,7 @@ func fpdfNew(orientationStr, unitStr, sizeStr, fontDirStr string, size SizeType)
|
||||||
case "pt", "point":
|
case "pt", "point":
|
||||||
f.k = 1.0
|
f.k = 1.0
|
||||||
case "mm":
|
case "mm":
|
||||||
a = 72.0 / 25.4
|
f.k = 72.0 / 25.4
|
||||||
case "cm":
|
case "cm":
|
||||||
f.k = 72.0 / 2.54
|
f.k = 72.0 / 2.54
|
||||||
case "in", "inch":
|
case "in", "inch":
|
||||||
|
|
Loading…
Reference in New Issue
Block a user