custom pageSize

This commit is contained in:
Klaus Wendel, archium GmbH 2021-03-02 15:55:20 +01:00
parent b225f13e91
commit cab8d163c9

View File

@ -3497,7 +3497,6 @@ func (f *Fpdf) getpagesizestr(sizeStr string) (size SizeType) {
fmt.Println("HALLO")
fmt.Println(aString)
f.err = fmt.Errorf("HALLO anknown page size %s", sizeStr)
/*
for i := 0; i <= 1; i++ {
@ -3510,7 +3509,7 @@ func (f *Fpdf) getpagesizestr(sizeStr string) (size SizeType) {
//size, ok = SizeType{aFloat[0], aFloat[1]}, true
size, ok = SizeType{250.01, 250.01}, true
} else {
fmt.Println(sizeStr)
f.err = fmt.Errorf("HALLO anknown page size %s", sizeStr)
//20210302 archium addendum end
size, ok = f.stdPageSizes[sizeStr]
//20210302 archium addendum begin