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

Remember the face index passed to load_font #84

Merged
merged 1 commit into from
Mar 5, 2021

Conversation

jwiggins
Copy link
Member

@jwiggins jwiggins commented Mar 5, 2021

This fixes a bug encountered when using TrueType font collections. Basically, the signature for two different fonts from the same collection would be equal. So now, we explicitly add the face index to the face name and use the face name + index when checking for previously loaded faces.

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