custom pageSize
This commit is contained in:
parent
048f80a7e2
commit
bd620bbff5
4
fpdf.go
4
fpdf.go
|
@ -3487,7 +3487,7 @@ func (f *Fpdf) getpagesizestr(sizeStr string) (size SizeType) {
|
|||
//20210302 archium addendum begin
|
||||
//enable custom page formats
|
||||
if strings.Contains(sizeStr, "x") {
|
||||
/*
|
||||
|
||||
var (
|
||||
aString []string
|
||||
aFloat []float64
|
||||
|
@ -3496,7 +3496,7 @@ func (f *Fpdf) getpagesizestr(sizeStr string) (size SizeType) {
|
|||
aString = strings.Split(sizeStr, "x")
|
||||
|
||||
fmt.Println(aString)
|
||||
*/
|
||||
|
||||
/*
|
||||
for i := 0; i <= 1; i++ {
|
||||
aFloat[i], aErr = strconv.ParseFloat(aString[i], 64)
|
||||
|
|
Loading…
Reference in New Issue
Block a user