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") { if strings.Contains(sizeStr, "x") {
var ( var (
aString []string aString [2]string
aFloat []float64 aFloat [2]float64
aErr error aErr error
) )
aString = strings.SplitN(sizeStr, "x", 2) aString = strings.SplitN(sizeStr, "x", 2)