We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If splittext is called with an active Arial font and the text contains an "En Dash" UTF character 8211/0x2013 there is a panic:
github.com/phpdave11/gofpdf.(*Fpdf).SplitText(0x1?, {0xc0000e0210?, 0xc0000d7090?}, 0x3ff0000000000000?) ~/mygo/pkg/mod/github.com/phpdave11/[email protected]/splittext.go:28 +0x4c5
Looks like it doesn't check the offset on the font size slice here: https://github.com/phpdave11/gofpdf/blob/v1.4.2/splittext.go#L28
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If splittext is called with an active Arial font and the text contains an "En Dash" UTF character 8211/0x2013 there is a panic:
Looks like it doesn't check the offset on the font size slice here: https://github.com/phpdave11/gofpdf/blob/v1.4.2/splittext.go#L28
The text was updated successfully, but these errors were encountered: