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