Browse Source

custom pageSize

master
Klaus Wendel 1 year ago
parent
commit
cab8d163c9
  1. 3
      fpdf.go

3
fpdf.go

@ -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

Loading…
Cancel
Save