custom pageSize
This commit is contained in:
parent
d2dfd14bf9
commit
9c8197847b
4
fpdf.go
4
fpdf.go
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user