Browse Source

custom pageSize

master
Klaus Wendel 1 year ago
parent
commit
6e4bf86e1b
  1. 2
      fpdf.go

2
fpdf.go

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

Loading…
Cancel
Save