Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic en AddChars #273

Open
weidongbcn opened this issue Nov 7, 2023 · 1 comment
Open

panic en AddChars #273

weidongbcn opened this issue Nov 7, 2023 · 1 comment

Comments

@weidongbcn
Copy link

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x1e8 pc=0x4ea943]

goroutine 1 [running]:
github.com/signintech/gopdf.(*SubsetFontObj).AddChars(0x0, {0x5244aa, 0xc})
/home/debian/go/pkg/mod/github.com/signintech/gopdf@v0.19.0/subset_font_obj.go:139 +0xc3
github.com/signintech/gopdf.(*GoPdf).Cell(0xc000118000, 0x0?, {0x5244aa, 0xc})
/home/debian/go/pkg/mod/github.com/signintech/gopdf@v0.19.0/gopdf.go:1093 +0xb3

@vantaboard
Copy link
Contributor

@weidongbcn please provide an example so I can reproduce this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants