custom pageSize

This commit is contained in:
Klaus Wendel, archium GmbH 2021-03-02 15:45:03 +01:00
parent 685ec07e4c
commit 048f80a7e2

View File

@ -3487,6 +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
@ -3495,6 +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)