custom pageSize

This commit is contained in:
Klaus Wendel, archium GmbH 2021-03-02 16:03:30 +01:00
parent 7be8a8ce94
commit 1b604ef5f5

View File

@ -3503,7 +3503,7 @@ func (f *Fpdf) getpagesizestr(sizeStr string) (size SizeType) {
f.err = fmt.Errorf("unknown page size %s", sizeStr) f.err = fmt.Errorf("unknown page size %s", sizeStr)
} }
} }
size, ok = SizeType{aFloat[0], aFloat[1]}, true size, ok = SizeType{aFloat[0], aFloat[1]}, false
} else { } else {
//20210302 archium addendum end //20210302 archium addendum end
size, ok = f.stdPageSizes[sizeStr] size, ok = f.stdPageSizes[sizeStr]