custom pageSize

This commit is contained in:
Klaus Wendel, archium GmbH 2021-03-02 16:10:14 +01:00
parent 6e4bf86e1b
commit d58f289647

View File

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