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: rename fallback to defsubset #125

Merged
merged 4 commits into from
Apr 28, 2023
Merged

fix: rename fallback to defsubset #125

merged 4 commits into from
Apr 28, 2023

Conversation

ayuhito
Copy link
Member

@ayuhito ayuhito commented Apr 28, 2023

We determine subsets for a font file link using the comment when parsing the CSS. However, since icons do not necessarily have any defined subsets, Google uses the comment 'fallback' breaks parsing downstream since the provided defSubset is latin.

This resolves the inconsistency in the API so we don't need to implement hacky checks downstream.

@ayuhito ayuhito merged commit afb1e4d into main Apr 28, 2023
@ayuhito ayuhito deleted the fix/fallback-variants branch April 28, 2023 16:38
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.

2 participants