You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 13, 2021. It is now read-only.
When I use a font file to write PDF, when the file contains unsupported characters. Expect to return an obvious error instead of an error "jung-kurt/gofpdf/fpdf.go:2789". Or you can skip unsupported data,Continue to write。
location:
jung-kurt/gofpdf/fpdf.go:2789 ==》 l += float64(cw[int(c)])
error:
panic: runtime error: index out of range [127775] with length 65536 [recovered]
panic: runtime error: index out of range [127775] with length 65536
The text was updated successfully, but these errors were encountered:
#337 fixes this when it occurs within a call to MultiCell(). An error will be returned in the case of an out-of-range rune. Errors can be handled as described in the documentaiton.
When I use a font file to write PDF, when the file contains unsupported characters. Expect to return an obvious error instead of an error "jung-kurt/gofpdf/fpdf.go:2789". Or you can skip unsupported data,Continue to write。
location:
jung-kurt/gofpdf/fpdf.go:2789 ==》 l += float64(cw[int(c)])
error:
panic: runtime error: index out of range [127775] with length 65536 [recovered]
panic: runtime error: index out of range [127775] with length 65536
The text was updated successfully, but these errors were encountered: