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

fix: getGlyph() on the last glyph results in incorrect "missing glyph" #116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pennersr
Copy link

@pennersr pennersr commented Nov 9, 2018

I ran into this issue when using a code128 barcode font (https://github.com/Holger-Will/code-128-font/blob/master/fonts/code128_L.ttf to be specific). The last glyph of the barcode never rendered and resulted in a "missing glyph" warning.

This PR fixes that (and likely explains the original # n+1 !? comment).

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

Successfully merging this pull request may close these issues.

1 participant