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: handle font families with multiple spaces #128

Merged

Conversation

AleksandrHovhannisyan
Copy link
Contributor

Fixes #127

@AleksandrHovhannisyan AleksandrHovhannisyan force-pushed the multi-space-font-families branch from 886c41c to b14233e Compare March 3, 2023 17:31
@danielroe danielroe changed the title Fix bug where getMetricsForFamily returned null for fonts with multiple spaces in their name fix: handle font families with multiple spaces Mar 4, 2023
@danielroe danielroe merged commit 4991a54 into unjs:main Mar 4, 2023
@AleksandrHovhannisyan AleksandrHovhannisyan deleted the multi-space-font-families branch March 4, 2023 18:08
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.

getMetricsForFamily returns null for font families containing multiple spaces (e.g., "IBM Plex Mono")
2 participants