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

Don't return Google fonts that have a single subset of 'khmer' #55

Merged
merged 1 commit into from
Apr 25, 2016

Conversation

donnapep
Copy link
Contributor

@donnapep donnapep commented Apr 21, 2016

Also, upgrade Angular to be inline with our Widgets and to resolve this issue.

@donnapep
Copy link
Contributor Author

@stulees @rodrigopavezi Please review. Thx.

$httpBackend.flush();

expect(googleFontLoader.getGoogleFonts().urls).to.have.lengthOf(1);
});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@donnapep Why isn't Buda returned since it doesn't have the 'khmer' subset?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stulees It's being explicitly filtered out here since Google returns it in their API, but it doesn't return the font when requested - https://fonts.googleapis.com/css?family=Buda.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@donnapep got it, thanks!

@stulees
Copy link
Contributor

stulees commented Apr 25, 2016

@donnapep 👍

@donnapep donnapep merged commit dcdeb38 into master Apr 25, 2016
@donnapep donnapep deleted the chore/filter-google-fonts branch April 25, 2016 13:35
This pull request was closed.
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.

Test does not pass: Angular never provided resumeBootstrap
2 participants