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

[BUG] Problem with loading composite font NewCompositePdfFontFromTTFFile: error: index out of range #195

Closed
gunnsth opened this issue Oct 28, 2019 · 1 comment
Assignees

Comments

@gunnsth
Copy link
Contributor

gunnsth commented Oct 28, 2019

Description

A problem was received via email support:

ArialUnicode.ttf. This font support Chinese symbols too, but when I try to load it with NewCompositePdfFontFromTTFFile I receive an error:
panic: runtime error: index out of range

Expected Behavior

Should be able to use any symbols, including Chinese from the font file.

Actual Behavior

Fails with an error.

Attachments

A self-contained example has been provided.

@gunnsth
Copy link
Contributor Author

gunnsth commented Oct 28, 2019

Turned out to be fixed in a newer version. Closed by #164

@gunnsth gunnsth closed this as completed Oct 28, 2019
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