custom pageSize
This commit is contained in:
parent
041ba85cc6
commit
9b0a2e91d8
2
fpdf.go
2
fpdf.go
|
@ -3496,7 +3496,7 @@ func (f *Fpdf) getpagesizestr(sizeStr string) (size SizeType) {
|
|||
for i := 0; i <= 1; i++ {
|
||||
aFloat[i], aErr = strconv.ParseFloat(aString[i], 64)
|
||||
if aErr != nil {
|
||||
f.err = fmt.Errorf("unknown page size %s", sizeStr)
|
||||
f.err = fmt.Errorf("anknown page size %s", sizeStr)
|
||||
}
|
||||
}
|
||||
size, ok = SizeType{aFloat[0], aFloat[1]}, true
|
||||
|
|
Loading…
Reference in New Issue
Block a user