custom pageSize
This commit is contained in:
parent
685ec07e4c
commit
048f80a7e2
2
fpdf.go
2
fpdf.go
|
@ -3487,6 +3487,7 @@ 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 (
|
var (
|
||||||
aString []string
|
aString []string
|
||||||
aFloat []float64
|
aFloat []float64
|
||||||
|
@ -3495,6 +3496,7 @@ func (f *Fpdf) getpagesizestr(sizeStr string) (size SizeType) {
|
||||||
aString = strings.Split(sizeStr, "x")
|
aString = strings.Split(sizeStr, "x")
|
||||||
|
|
||||||
fmt.Println(aString)
|
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