custom pageSize

This commit is contained in:
Klaus Wendel, archium GmbH 2021-03-02 15:58:39 +01:00
parent d2dfd14bf9
commit 9c8197847b

View File

@ -3489,8 +3489,8 @@ func (f *Fpdf) getpagesizestr(sizeStr string) (size SizeType) {
if strings.Contains(sizeStr, "x") {
var (
aString []string
aFloat []float64
aString [2]string
aFloat [2]float64
aErr error
)
aString = strings.SplitN(sizeStr, "x", 2)